Question: in c language 6. Torque. Given a solid body, the net torque T (Nm) about its axis of rotation is related to the moment of
in c language
6. Torque. Given a solid body, the net torque T (Nm) about its axis of rotation is related to the moment of inertia I and the angular acceleration acc (rad/s) according to the formula for the conservation of angular momentum: T=lace The moment of inertia depends on the shape of the body; for a disk with radius r, it is I = 0.5mr2 (a) Write a function named moment() to calculate and return the moment of inertia of a solid disk. It should take two parameters: the radius and mass of the disk. (b) Write a work() function that will prompt the user to enter the radius, mass, and angular acceleration of a disk. Limit the inputs to be within these ranges: 0.093
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
