Convert parallipiped dimesions to equivalent axisymmetric cylinder dimensions
For a given w x t x L block
Return the equivalent r x h cylinder
maintaining surface area and volume
Running the code (2 options):
- open a terminal and type:
$ python solve_cylinder_rt 1 2 3
returns
A 1.00 x 2.00 x 3.00 parallelipiped has the same surface area and volume as a cylinder that is r=0.6104 and t=5.1257
- In a jupyter notebook,
a. import solve_cylinder_rt as sc
b. sc.solve_cylinder(1,2,3)
output: A 1.00 x 2.00 x 3.00 parallelipiped has the same surface area and volume as a cylinder that is r=0.6104 and t=5.1257