Question: Write Python code that completes the following: ( Note: Angles should be in degrees and not radians ) 1 ) Given a vector at a

Write Python code that completes the following: (Note: Angles should be in degrees and not radians)
1) Given a vector at a given point in Cartesian Coordinates, convert that point and vector into Cylindrical Coordinates.
2) Then using only the Cylindrical Coordinate point and vector, convert those both into Spherical Coordinates (Hint: See page 53, problem 2.15)
Test your code doing the following.
a) Using intuition, convert the vector sqrt(2)/2*(1*a_hat_x +1*a_hat_y +0*a_hat_z) at the point (2,2,0) to a vector in Cylindrical and Spherical Coordinates.
b) At the point (4,2,0), convert the vector (3*a_hat_z) into Cylindrical and Spherical Coordinates.
c) At the point (0,-2,0), convert the vector sqrt(2)/2*(0*a_hat_x -2*a_hat_y +2*a_hat_z) to Cylindrical and Spherical Coordinates.

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!