2nd Derivative problem with Maple 12 Student Edition

hi,

if i run the below statements, the last 2 cause Maple 12 Student Edition to chug along for a minute then generate a very long answer, like a page worth. it's like it can't figure out the answer and dumps a bunch of garbage. all i am trying to do is a 2nd derivative.

restart;
dist := t-> sqrt((-27-(60+23*sin(t))*t/sqrt(2))^2+(-11*t+(60+23*sin(t))*t/sqrt(2))^2);
'dist(t)' = dist(t);
Ddist := D(dist);
'Ddist(23/60)' = evalf(Ddist(23/60));
tmax := fsolve((D(Ddist))(t), t = 0 .. 1);
'Ddist(tmax)' = evalf(Ddist(tmax));

if i change the 2nd line to the below, then it works fine, and the last two statements print an answer.

dist := t-> sqrt((-17-(60+15*cos(t))*t/sqrt(2))^2+(-8*t+(60+15*cos(t))*t/sqrt(2))^2);

is this a problem with Maple 12, or am i doing something wrong here ?

thanks.

i solved it, it was

i solved it, it was this

tmax := fsolve((D(Ddist))(t), t = 1 .. 2);

i was trying to solve an invalid range and maple spits out garbage when it can't solve.

sorry for the false alarm.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}