Question: Problem with plot

Dear all;

I need you to understand this problem...

when i plot the function, using the graph i see that the function is above the x-axis but when I compute some values of this function I get a negative values....like
evalf(y(99.6));  is a negative value, but in the graph it is possible... I don't  undertand the problem...

restart:
with(plots):

# funciton

y:=x->-4.1123583570*10^281*exp(-(2/3)*x^(3/2))/(x^(1/4)*sqrt(Pi))+1.6554662320*10^(-289)*exp((2/3)*x^(3/2))/(x^(1/4)*sqrt(Pi))+(16/153)*x^(7/6)*sqrt(Pi)*exp((2/3)*x^(3/2))+Pi*((1/2)*exp(-(2/3)*x^(3/2))*(-1+exp((2/3)*x^(2/3)))/(x^(1/4)*Pi)-(16/153)*x^(7/6)*exp((2/3)*x^(3/2))/sqrt(Pi)):

#I plot this function in the interval (a,b)

a:=99;b:=100; # interval (a,b)
 forget(evalf): Digits:=20:
P1:=plottools:-transform((x,y)->[x+a,y])(plot(expand(y(x+a)),x=0..1,color=blue)):
forget(evalf): Digits:=4000:
P2:=plot(ysol, a..b, style=point, adaptive=false, numpoints=25, symbol=solidcircle, symbolsize=20, color=blue):
Digits:=20:
plots:-display(P1,P2);
evalf(y(99.6)); 

 Thank you in advantage for your remarks

 

 

Please Wait...