Re: beginner plot function with parameter
- To: mathgroup at smc.vnet.net
- Subject: [mg74048] Re: [mg74021] beginner plot function with parameter
- From: bsyehuda at gmail.com
- Date: Wed, 7 Mar 2007 03:16:20 -0500 (EST)
Hi,
After the line
Plot[f[z],{z,-s,s}]
you should get an error massage implying that s should be a number
otherwise Plot cannot do its work
yehuda
On 3/6/07, Wei Li <wei_li92 at hotmail.com> wrote:
>
> Dear Mathgroup,
>
> I am using mathematica 5 to plot a function with some parameter, I want to
> plot for example a simple parabolic function with positive parameter s:
>
> f[z_]:=(z/s)^2;
> Plot[f[z],{z,-s,s}];
>
> mathematica code doesn't seem to work, anyone can help?
>
> Thanks!
>
> Wei
>
>
>
>
>