List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] why the plot is not consistent with evaluated value?
| [MUG] why the plot is not consistent with evaluated value? |
|
Author: Xiaoyan Li
Posted: Fri, 22 Nov 2002 04:21:58 -0500
|
>> From: Xiaoyan Li "xili"
Hello,
I am using maple to plot an expression using the following file. The
strange thing is, some of the plotted value don't comply with the
evaluated value.
In the bottom of the file, I have purposely evaluated expression value at
some particular points, you can see the discreprency directly.
Could some one help me figure out why this is happening?
--------------------------------------------------------------
g := Pi*((2*R-x)^2-R^2);
Fx := exp(-m*g*(1-exp(-n*2)));
fx := diff(Fx,x);
Ex := int(x*fx,x=0..R);
tmpEx := subs(m=1/Pi,n=0.2,Ex);
plot(tmpEx,R=0..40);
v_5_tmp:= eval(tmpEx,R=5);
v_5 := evalf(v_5_tmp,9);
v_20 := eval(tmpEx,R=20);
v_30 := eval(tmpEx,R=30);
v_40 := eval(tmpEx,R=40);
------------------------------------------------------------
Thanks,
Xiaoyan
==============================
|
[View Complete Thread]
Previous by date: [MUG] isqrt command, Adalberto Ayjara Dornelles Filho
Next by date: [MUG] Re: Limit Superior & Limit Inferior, Barsuhn
Previous thread: [MUG] Numerical error, Madham53
Next thread: [MUG] Limit Superior & Limit Inferior, Classen, Manfred
|