Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plot Function' topicStudent Support Forum > General > "Plot Function"

Next Comment >Help | Reply To Topic
Author Comment/Response
ZM
07/11/01 2:06pm

I am trying to plot the equation for instantaneous plane source diffusion in Mathematica.

When I enter the equation, with m(1) and dt(1) defined, I enter it as:

c[x_]:=1/(2*(pi*1)^.5)*Exp[-x^2/(4*1)]

When I then enter:

Plot[c[x_], {x, 0, 5}]

I receive the error message:

Plot::"plnr": "\!\(c[x_]\) is not a machine-size real number at \!\(x\) = \
\!\(2.0833333333333333`*^-7\)."

Can someone tell me what I'm doing wrong? I've tried to nest the Evaluate function into the Plot function with no results.

Thanks,

ZM

URL: ,

Subject (listing for 'Plot Function')
Author Date Posted
Plot Function ZM 07/11/01 2:06pm
Re: Plot Function Forum Modera... 07/12/01 06:55am
Next Comment >Help | Reply To Topic