Plotting Polar Curves in Mathematica: Troubleshooting Homework Statement

  • Thread starter Thread starter flyingpig
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 3K views
flyingpig
Messages
2,574
Reaction score
1

Homework Statement



I am trying to plot the two polar curves [tex]r = \sqrt{3} cos(\theta)[/tex] and [tex]r = sin(\theta)[/tex]

Mathematica only gives me one of the curves.

I tried plotting PolarPlot[{sqrt (3) Cos[t]}, {t, 0, 2 Pi}] and it gives me a blank box in the first quadrant.

any ideas?
 
Physics news on Phys.org
flyingpig said:
Neither works

Did you mean the WolframAlpha links?
Those work for me.

And according to WolframAlpha the Mathematica expression for the polar plot is:

PolarPlot[{Sqrt[3] Cos[t]}, {t, -Pi, Pi}]

It seems that it matters what the range of t is, because it does not work from 0 to 2Pi.
 
No, I mean your links do work, but they only plot one curve. I am trying to plot both curves together
 
OKay it is working now. thanks