Oliver K

1201 Reputation

15 Badges

18 years, 31 days

MaplePrimes Activity


These are answers submitted by Oliver K

I changed some things, not sure what did the trick in the end. But mixing up floats and rationals can cause problems, sometimes.

restart;
T1 := piecewise(x<0,0,x<20,(1/3)*((7/2)*x*13)+13,x<30,13*(34*(1/10))*x*(1/3)+13, (1/3)*((13/4)*x*13)+13);
plot(T1,x=0..40,numpoints=1000,discont = true);

How about this one ?

try2.msim

 

 

Why don't you use a spring component ? Or could you describe what you are trying to model ?

 

I don't think there is a built in export feature for this yet, but you could try a 3rd party recording tool like fraps:

 

http://en.wikipedia.org/wiki/Fraps

 

alternatives:

 

http://en.wikipedia.org/wiki/List_of_screencasting_software

 

Run your model, select the project tab -> stored results. Right cklick on result -> Export

This will export your probe data in csv or xls format.

restart:
kappa:=6*log(R)/R^2:
p1:=plot([kappa,R,R=.99..1.6]);
p2:=plot([kappa,R,R=1.6..6],linestyle=dash);
plots[display](p1,p2);

If you have a function f then you can write

f:=x^2+a*x+b;

 

solve(f,a);
isolate(f,a);

The former gives the result term, the latter gives an equation back. So, it is not a biggie. There may be other minor differences, i'm sure you already read the FM :-)

Maybe you need the zeros of the second derivative ?

By the way, you need to write 10.0 instead of 10,0

And write exp() instead of e^

restart:
f:=x^2+b*x+3*b;
L:=seq(f,b=-5..5):
p1:=plot([L],x=-10..10,y=-20..20):
p2:=plot([-b/2,-1/4*b^2+3*b,b=-10..10]):
plots[display](p1,p2);

A taylor approximation is only valid for a small area around its development point. Your plot is probably messed up because the default plotting range for the z axis gets into the millions. Set it to reasonable values and you'll see the real thing. Why not just integrate with the numeric option ?

Anyhow you messed up your sheet. Select your line with x:=... right-click -> convert to-> 1D input, and you see what's wrong with it (remove the redundant brackets).

Don't get your hopes high for general multicore support, only some commands take advantage of it. Maybe you have a full hard disk ? Also, i would start the task manager to see which processes eat resources. By the way, Maple installs its own Java environment, so another global Java update shouldn't affect performance.

Why not move the diff operation into min, like

diff(x*lambda,lambda);

df:=min(%,0)

plot(df...)

Make something like

p1:=plot(function);
p2:=listplot(pkt list);
plots[display](p1,p2);

Slightly modified for  eye candy:

f:=(1-k)^2*x^2+k*sin(x);
plots[animate](plot, [f,x=-10..10,y=-1..5],k=0..1,frames=150);

3 4 5 6 7 8 9 Last Page 5 of 16