## dsolve event handling question, general...

dsolve event handling looks like a great tool, but I can't understand how it works and it's not sufficiently popular to google my way to examples online. There are two things I'd like to do: 1) interrupt the computation once some variable leaves a certain range, 2) interrupt the computation if the solver gets stuck into an infinite loop. Both are documented in the help, but I don't understand it. Suggestions welcome, thanks!

http://www.maplesoft.com/support/help/Maple/view...

## Confused about "e" (2.71828...) in Maple...

I'm new to Maple and find some aspects of the syntax and UI confusing.  The manual isn't much help.  In the case of "e"...

1) If I type in:    evalf(e^1,10) by just typing the letter e from the keyboard, I get back the letter e.  But if I go into the palette and select the expression e^a, and put it in evalf that way (for a=1) I get back a numerical value for e.  I can see that one of these e's is italicized and one isn't...???

## solving nonlinear differential equation...

Hi,

I'm trying to solve a nonlinear diff. equation numerically using (dsolve) but it gives me an

`Error, (in dsolve/numeric/bvp) initial Newton iteration is not converging`
`my code is:`
`ode:= diff(f(x),x,x,x)+f(x)*diff(f(x),x,x)+B(1-(diff(f(x),x))^2=0   # f'''+f*f''+B(1-(f')2)=0`
`bcs:= f(0)=0,diff(f(x),x)(0)=0,diff(f(x),x)(5)=1                            # f(0)=0, f'(0)=0,f'(5)=1`

## Why does DEplot not plot my equation when I have t...

Why isn't DEplot working when my syntax is correct? The equation will plot in one worksheet but not in another?

## Finding values in a differential equation...

I will include the work i did, also near the end of the worksheet, there are word descriptions of the questions i did.

Im stuck on the last 3 questions: question 14, 15 and 16. I cant seem to find the values i need for my Ce^-kx

I tried diff it but my syntax is preventing me from going farther.

All help will be appreciated! i will include the original lab for more clarification!

## 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
﻿