Mathematica Solving a 2D Parametric Plot of Logarithmic Spiral

AI Thread Summary
The discussion focuses on creating a 2D parametric plot of a logarithmic spiral using the equations x=k^u Cos(u) and y=k^u Sin(u). The value of k in these equations determines the growth rate of the spiral. The user initially encountered issues with their code due to incorrect bracket placement. Ultimately, they resolved the problem independently. The thread highlights the importance of syntax in programming for accurate plotting.
izzy93
Messages
34
Reaction score
0
I am stuck on the following task;

Create a 2D Parametric Plot showing a spiral path. The parametric equations for a logarithmic spiral are x=k^u Cosine(u), y=k^u Sine(u), where k is a constant, and u is the plot parameter. What does the value of k determine?

I have been typing in the following but it is wrong

ParametricPlot[{(k^u)*(Cos) /. {k -> 1}}, {(k^u)*(Sin) /. {k ->
1}}, {u, 0, 6 Pi}]
Can anyone help?

much appreciated
 
Physics news on Phys.org
No worries peeps, I figured it out, just had some dodgy brackets about!
 

Similar threads

Replies
1
Views
2K
Replies
2
Views
2K
Replies
9
Views
5K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
4
Views
3K
Replies
1
Views
3K
Replies
4
Views
3K
Replies
2
Views
1K
Back
Top