Question: ETC 208-228 Module 3 Assignment Part 2: Programming Projects You MUST follow the problem solving process discussed in Module 1. Write and submit Step 1
ETC 208-228 Module 3 Assignment Part 2: Programming Projects 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. Problem 1: The combined resistance of three resistors connected in parallel, as shown below, is given by the formula: miny 1 Combined resistance win +RE+ Using the formula, design, write and run a C++ program that will accept input values from the user at run time and display the values and their equivalent resistance. Save this program as Module 3Proj1. Problem 2: When a particular rubber ball is dropped from a given height (in meters), its impact speed (in meters/second) when it hits the ground is given by the formula: speeds = 2gh where g is the acceleration due to gravity and h is the height. The ball then rebounds to 2/3 the height from which it last fell. Using the formula, design, write and run a C++ program that will accept input values from the user at run time and display the impact speed of the first three bounces and the rebound height of each bounce. Test your program using an initial height of 18 m. Run your program twice, and compare the results for dropping the ball on Earth (g = 9.81 m/s) and on the Moon (g = 1.67 m/s2). (Hint: In Step 2: Design a solution, use a Table to organize the solution before going to Step 3: Coding) Save this program as Module 3Proj2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
