Question: Substract location in the maximum of a function

Hi,

  I have the following input

f:=x^2*exp(-1.2*x);
maximize(f, x=0..100,location);

 Maple gives me the location is x=1.25. However, how should I do to obtain this position?  If I write

 

a:=maximize(f, x=0..100,location);

 

  Seems it do not work :(

 

  I may try fsolve at the maximum value, but it seems to be awkward..

 

Thank you very much!

  

Please Wait...