Question: Programming Exercise #ex3_2 1. Create a new text file named ex3_2.cpp with the following two lines. Be sure to replace the string YourFullName with your

 Programming Exercise #ex3_2 1. Create a new text file named "ex3_2.cpp"

Programming Exercise #ex3_2 1. Create a new text file named "ex3_2.cpp" with the following two lines. Be sure to replace the string "YourFullName" with your real full name. /*Filename: ex3_2.cpp Student: Your Full Name / 2. In Physics, there is a concept called "moments of inertia". For example, the following demonstrates how to The rotational equivalent of mass is "inertia", I, which calculate the moment of inertia of a disk having depends on how an object's mass is distributed through mass of 5Kg and radius of 0.03m? space. The moments of inertia for a disk rotating around its center is shown below. Mass of the disk = 5Kg Radius of the disk = 0.03m I- xmxr2 1-mr2 = x 5Kg x (0.03 m)? = 0.00225Kgm? 3. Next to the above two lines, write a C++ program that asks users to enter the mass and the radius, and then return the calculated moment of inertia of a disk using the above equation. (Hint: Be careful about the data type] Developer Command Promo S:\11232)_2.EXE Enter the massi Enter the radius: 0.00 Fonent of Inertia of a disk: 08235

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!