Question: Challenge question: Logarithmic spiral In this question we are going to use some simple matrix transformations to create some fun plots. A point p =

Challenge question: Logarithmic spiral
In this question we are going to use some simple matrix transformations to create some fun plots.
A point p=(x,y) in two space can be represented as a column vector, i.e. a 21 matrix
p=[xy]
Such a point can be rotated counter clockwise radians about the origin by multiplying on the left by the matrix:
[cos()-sin()sin()cos()]
For example we could represent the rotation of the point p=(1,2) by 2(90) counter clockwise as:
[0-110][12]=[-21]
Furthermore, a point can be scaled by s with respect to the origin by multiplying on the left by the matrix
[s00s]
Notes:
You are allowed to use loops and comprehensions.
The above plot was made with the call plot_log_spiral(505,5,1.e1)
The title should be the same as in the plot above, i.e. of the form "Logarithmic Spiral: n={n}, rotation ={theta in radians to 2 decimal places
 Challenge question: Logarithmic spiral In this question we are going to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!