# Learning Mathematica.

## Homework Statement

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

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?

## Answers and Replies

I like Serena
Homework Helper
phyzguy
Science Advisor
That's because it doesn't recognize sqrt(3). Try:

PolarPlot[{Sqrt Cos[t]}, {t, 0, 2 Pi}]

Neither works

I like Serena
Homework Helper
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 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

Mapes
Science Advisor
Homework Helper
Gold Member
PolarPlot[{Sqrt Cos[t], Sin[t]}, {t, 0, 2 Pi}] works for me.

OKay it is working now. thanks