Hollow Cylinder
This procedure returns mass and moments of inertia of a cylinder.
Inputs
d_i =inner diameter of cylinder [m, ft]
d_o=outer diameter of cylinder [m, ft]
L = length of cylinder [m, ft]
rho = material density [kg/m^3, lbm/ft^3]
Outputs
m=mass [kg, lb_m]
I_x = moment of inertia about the x-axis
I_y= moment of inertia about the y-axis
I_z = moment of inertia about the z-axis
Example: Call MOI_hollowcylinder(d_i, d_o, L, rho:m, I_x, I_y, I_z)
Reference: Juvinall and Marshek, 5th edition, Fundamentals of Machine Component Design, Appendix B-2