panke

70 Reputation

5 Badges

3 years, 364 days

MaplePrimes Activity


These are questions asked by panke

I do the numerical simulation with

lp:=dsolve(....,type = numeric, range = ta .. te)

The simulation stop at t=te .

I want to stop the simulation when e.g. x(t) < 0

How can i do it ?

 

I use
lp1=dsolve(...,numeric)
p1 := odeplot(lp1,....)

new parameter

lp2=dsolve(...,numeric)
p2 := odeplot(lp2,....)

display([p1, p2], legend = ["step", "impulse"])

anf get the error

 

Error, (in plots:-display) display does not accept the legend option

 

 

 

 


 

``

restart

``

f := proc (x, z) options operator, arrow; ln(x^z) end proc;

proc (x, z) options operator, arrow; ln(x^z) end proc

(1)

``

``

``

simplify(f(x, 2), ln);

ln(x^2)

(2)

simplify(f(x, 1/2+I*y), ln);

ln(x^(-((1/2)*I)*(I-2*y)))

(3)

``


 

Download simplln.mw

 

with(CodeGeneration)

ua=[ 1 2 3 4];

Matlab(ua);

 

%How can i write the Output of "Matlab(ua)"  on file so I can use the Matlab "load" command
later on to get the result in Matlab?  

 

 

I am looking for a window bat file to run my maple input file.mw

1 2 3 4 5 Page 4 of 5