Skip to content

rcc02007/solve_cylinder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 15, 2019 10:23

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):

  1. 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

  1. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages