razif razali <razif66 <at> gmail.com> writes:
>
>
> Dear all maxima user,
>
> it try to plot this equation, but i failed to...i dunno why i failed to plot
this expression, hope someone can look into it
>
> here what i done,
>
> (%i1)?((%e^(- sqrt(sqrt(73) - 10)*(3*%pi/8)*1 - sqrt(- sqrt(73) -
10)*(3*%pi/8)*1)*(sqrt(sqrt(73) - 10)*((- 5*2^(3/2)*sqrt(3)*sqrt(73) -
73*sqrt(2)*sqrt(3))*(%e^(-x/2)*(sqrt(x))^3/sqrt(3!))*%e^(2*sqrt(sqrt(73) -
10)*(3*%pi/8)*1 + sqrt(- sqrt(73) - 10)*(3*%pi/8)*1)+
(5*2^(3/2)*sqrt(3)*sqrt(73) +
73*sqrt(2)*sqrt(3))*(%e^(-x/2)*(sqrt(x))^3/sqrt(3!))*%e^(sqrt(- sqrt(73) -
10)*(3*%pi/8)*1))+sqrt(- sqrt(73) - 10)*((5*2^(3/2)*sqrt(3)*sqrt(73) -
73*sqrt(2)*sqrt(3))*(%e^(-x/2)*(sqrt(x))^3/sqrt(3!))*%e^(2*sqrt(- sqrt(73) -
10)*(3*%pi/8)*1)+ (73*sqrt(2)*sqrt(3)-
5*2^(3/2)*sqrt(3)*sqrt(73))*(%e^(-x/2)*(sqrt(x))^3/sqrt(3!)))*%e^(sqrt(sqrt(73)
- 10)*(3*%pi/8)*1)))/1314)^2
>
>
> (%i2) plot2d(%o1,[x,0,10]);
>
> and maxima give me this error :?
>
> plot2d: expression evaluates to non-numeric value somewhere in plotting range.
> (%o2)?
> (%i3) Warning: empty y range [0:0], adjusting to [-1:1]
>
> can someone explain this to me?
>
> -- Regards,RAZIF RAZALI,Tutor & Master Student,Physics Department,Faculty Of
Science,Universiti Teknologi Malaysia(UTM).+60199393606
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima <at> math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
Razif,
You have terms that are complex in the expression which plot2d can not handle.
Yes, %e^(%pi*%i) = -1 but %e^(a*%pi*%i)) could still be complex. You may plot
the real part and imaginary part separately.
- Michael