Moments of inertia: The rotational equivalent of mass is inertia, I, which depends on how an object’s mass is distributed through space. The moments of inertia for Disk rotating around its center is:
I = 1/2 mr2
Where m is the mass and r is the radius.
Write the pseudocode and draw the flowchart for the algorithm that will accept the mass and radius from a user and then print the moment of inertia of the disk rotating.
start
scan radius r
scan mass m
momentent of inertia I= m*r*r
print (I)
end
Comments
Leave a comment