Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Re: --->What is the problem with 'ParametricPlot
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Terry Harter

Posts: 11
Registered: 12/7/04
Re: --->What is the problem with 'ParametricPlot
Posted: Aug 25, 1996 5:56 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

>Seagull wrote:
>
>I input the followings:
>x={Sin[t]}^3
>y={Cos[t]}^3
>ParametricPlot[{x, y}, {t, 0, Pi/2}]
>

...{stuff deleted}...
>
>
>Can anyone tell me what is wrong?
>Thanks in advance!!
>
>Seagull.


Look at the manual under function definitions. Instead write

x[t_] := (Sin[t])^3
y[t_] := (Cos[t])^3
graphics = ParametricPlot[{x[t], y[t]}, {t, 0, Pi/2}]

Anytime MMA sees the pair "{ ... }", it expects a list.
Also, look up delayed assignments. that is what the
assignment operator" := " is doing in the stmt
"stuff[t_] := other stuff"

....Terry












Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.