Answer to Question #202835 in Algorithms for Master j

Question #202835

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.


1
Expert's answer
2021-06-05T07:11:51-0400
The pseudocode:

Start
	 Declare variable mass 
	 Declare variable radius
	 Declare variable momentInertia 
	 Get mass from a user 
	 Get radius from a user
	 momentInertia=(1/2)*mass*radius*radius
	 Display the moment inertia 
Stop


The flowchart:






Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS