- numpy - matplotlib Physim

Cartesian to Cylindrical Coordinates

In this section you will practice and apply what you have learned from the Cartesian and Cylindrical Coordinate simulations, creating a conversion calculator from one coordinate system to another and understanding the calculations being done.


If you are looking for a reference for Python consider looking at the Python Reference Sheet on the site.



Below are sample runs of some of the outputs you should get when running the program.


Cartesian to Cylindrical Coordinates:


For user input x = 3, y = 4, and z = 5, the output should be:


For user input x = 7.8, y = -4.1, and z = 2.3, the output should be:


For user input x = -2.4, y = -11.3, and z = -3.7, the output should be:


For user input x = -6.0, y = -5.1, and z = 3.2, the output should be:


For user input x = 0, y = 4.5, and z = 0, the output should be:



Here is a code editor so that you can compute your converter program.


# insert your code here


Go Back to Coordinate Exercises Page