Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please explain your program, thank you. Using C++ Pelton Water Wheel with functions Design a program for the problem on the back of this sheet.
please explain your program, thank you.
Using C++ Pelton Water Wheel with functions Design a program for the problem on the back of this sheet. Use a for loop to vary the diameter (D) of the wheel. The diameter must go between 2.0 feet and 3.0 feet in steps of 0.1 feet. Your output must be in the form shown. Once you are satisfied with the output, use fprintf() to send it to a file. turn in: Hand Example Hard copy of your output file * listing of your program Sample output (note that the value 120 is entered from the keyboard) Enter the nozzle water exit velocity: 120 Press any key to continue Torque and Horsepower of a Pelton Wheel Nozzle water exit velocity - 120.00 ft/sec Wheel dia t) horsepower torque (ft-lbs) Wheel dia torque horsepower WNNNNNNNNNN OMOGO 791.54 765.88 734.01 695.93 651.64 601.13 544.41 481.47 412.32 336.96 255.39 105.50 102.08 97.83 92.75 86.85 80.12 72.56 64. 34.04 Model: Water Stream Definition of Terms Parameter Value 120 ft/sec) Computed 2 ) 700 (rev/min) 0.038 ft2) Comment nozzle water exit velocity, user input velocity of wheel blades wheel diameter rotational speed of wheel Eixed) Cross sectional area of stream of water striking blades (fixed) mass density of fluid (fixed) 1.95 (slugs/ft?) 155 (degrees) omputed Computed T C blade turning angle (fixed) torque developed by wheel horsepower developed by wheel HP Note that U is read from the keyboard, all other parameters are read from a N, P, A, rpm), D is the loop control variable. File U, *D* rpm 60 Pl. D*U* (U-U) I-cos(()) HP2 rpm 33,000 Create three functions, one for each of the three equations: U2 = T - HP - calcu2 (Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started