Question: ETC 208-228 Computer Applications in Engineering Technology Module 2 Homework Assignments Part 2: Programming Projects Design, write and run interactive C++ programs to solve the

 ETC 208-228 Computer Applications in Engineering Technology Module 2 Homework Assignments

ETC 208-228 Computer Applications in Engineering Technology Module 2 Homework Assignments Part 2: Programming Projects Design, write and run interactive C++ programs to solve the following problems. The inputs will be provided by the user at run time. You MUST follow the problem solving process discussed in Module 1. Write and submit Step 1 - Analysis & Step 2 - Design a Solution as an MS Word document. Step 3 - Coding and Step 4 - Testing are to be done using C++. (Refer to the document on submission of C++ Program. 1. The minimum radius required for a cylindrical rod, such as one supporting a bicycle pedal, to provide enough support for the pressure exerted by the rider's foot yet not exceed the stress placed on the crank's arm sprocket attachment, is given by this formula: d.P cm where r is the radius of the cylindrical rod in d is the length of the crank arm in cm Pis the weight placed on the pedal in N Sids the stress in MPa. (1 MPa = 10% Nim2 = 1 N/mm) The program will display the required radius for various values of inputs supplied by the user. Test your program with the following set of inputs: crank arm is 20 cm, a maximum weight of 1.50 kN and a stress of 70 MPa. Compare the output of your program with hand-calculated value ofr. Make sure your units are consistent. 2. (a) The volume of a sphere of radius ris given by the formula: 4x7 volume =- The program will display the volume of the sphere with units for a given radius r. Compare the output of your program with hand-calculated value of the volume for a radius of 20 cm (b) The sphere in 2(a) is placed in a cubic box of side 2r. Modify your program in 2(a) to determine volume of the empty space between the box and the sphere. Again, compare the output of your program with hand-calculated value for a radius of 20 cm

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!