## help with syntax error...

EulerSystem:=proc(f,g,n,h,tinit,xinit,yinit,t,s,y);
local i;
t[0]:=tinit;x[0]:=xinit; y[0]:=yinit;
for i from 1 to n do
t[i]:= evalf(tinit+h);
x[i]:= evalf(xinit+h*f(tinit,xinit,yinit));
y[i]:=evalf(yinit+h*g(tinit,xinit,yinit));  od;  end;

When i tried to execute maple dispayed "unable to parse" but i can't find out where the syntax error is.  "local" was the word with the red dotted line box around...

## if then statement...

the problem is as follows:

if((a>0) and (b>0) then (c:=2*a, d:=3b, e:=9b.....)

elif ((a<0) and (b>0)) then (c:=.., d:=..., e:=....)

elif.....

.....

else c:=..., d:=..., e:=...

end if

i know i have the if conditions right, but not sure about sequential conditions..what is the correct syntax for this??

I'm getting errors like parse errors, unterminated if, and invalid sequence (on the :=)...

## Cut/Paste Component Syntax...

I have recently upgraded to Maple 14, and I can no longer cut and paste syntax between components when I am editing their properties.  Is this normal, or do I have to adjust a setting?

Thanks,

Phil

## How to rearrange an inequality to x?...

This first example command

solve({(x-1)/(2*(x-2)) = 2/(x^2-4)+2*(1/2)}, {x})

will be x=-1.

The second example command

solve({(x-1)/(2*(x-2)) = 2/(x^2-4)+1/2}, {x})

won't give me any answer. I know that there is no solution (in sense x=2 for example) for the second math problem.

How can I tell mapple to show me that x=2 ? (even if it's not inside the definition sum R)

Or, if the simplyfication of the equation would be something like x = x + 2 ...

## solve vs isolate - differents solutions, but which...

Hi all!

I would like to isolate a variable from an equation but after trying both solve and isolate I noticed they result in two different solutions. Which one is correct or in other words are there any issues with my syntax resulting in these differences?

## mint, the Maple program analyzer

by: Maple

The program mint, bundled with Maple, is a very useful syntax checker and program analyzer.

As provided, `mint` works best with Maple program source when contained in plaintext files. Inside Maple itself there is a command maplemint which does some of the same tasks as the stand-alone program `mint`. Unfortunately `maplemint` is quite a bit weaker than `mint` is, for quite a selection of procedures. Also, `maplemint` doesn't have the sort of flexible control that `mint` provides through its optional calling parameters.

I had previously posted a Maple language procedure for the purpose of calling out to `mint` while inside Maple (Standard GUI, or other). Here it is below, cleaned up a little. Hopefully it now works better across multiple operating systems, and also provides its optional parameters better.

 First 7 8 9 Page 9 of 9
﻿