hi,
i'm using an existing Maple mws that was created by some unknow version of Maple.
the Maple text is show below, and the old result is the last line (0.28031703)
restart;
T := ->(1/8)*sqrt(x^2+225)+(1/3)*sqrt((20-x)^2+625);
dT := D(T);
solve(dT(x) = 0, x);
evalf(%);
Sols := %;
Xbest := Sols[1];
solve(25/(20-x) = 15./x, x);
T(%)-T(Xbest)
0.28031703
when i run in with Maple 12 Student Edition, the result I get is
11.41326364-(1/8)*sqrt(13.51659367[1]^2+225)-(1/3)*sqrt(1025-40*13.51659367[1]+13.51659367[1]^2)
what am i doing wrong ? (i'm a 1st year calculus student and am learning this stuff). do i have to upgrade to a full Maple version to get this to work ?
thanks.
Sols
Change the definion of Xbest to
i.e. get rid of [1] in Sols.
Alec
Yeah !
Alec,
Yeah ! That did it. I thank you again for your help.