Programming Assignment 7: Circuit Problem Generator P07
Complete and upload C program that wil...
Engineering, 05.05.2020 04:34 Nathanr23
Programming Assignment 7: Circuit Problem Generator P07
Complete and upload C program that will accomplish the following:
Create random integers values for Vs, R1 and R2 in the circuit (keep the Vs values under 100, and R1 and R2 values under 5000).
Calculate the solution for i, v1 and v2 from the values generated in Step 1 (precision 1e-3 with truncation).
Present the random values generated in Step 1 to the user and query for the answers for i, v1 and v2.
Compare the user input values to the calculated ones and give feedback on correctness (success, failure).
Restart program at Step 1 generating new values unless user chooses option to "exit" the program.
Answers: 3
Engineering, 04.07.2019 18:10, skpdancer1605
Ariver flows from north to south at 8 km/h. a boat is to cross this river from west to east at a speed of 20 km/h (speed of the boat with respect to the earth/ground). at what angle (in degrees) must the boat be pointed upstream such that it will proceed directly across the river (hint: find the speed of the boat with respect to water/river)? a 288 b. 21.8 c. 326 d. 30.2
Answers: 3
Engineering, 04.07.2019 19:10, Mimidj9279
The sum of the normal stresses does not change as the stress state rotates through an angle. a)-trune b)- false
Answers: 2
Engineering, 04.07.2019 19:20, rida10309
At steady state, air at 200 kpa, 325 k, and mass flow rate of 0.5 kg/s enters an insulated duct having differing inlet and exit cross-sectional areas. the inlet cross-sectional area is 6 cm2. at the duct exit, the pressure of the air is 100 kpa and the velocity is 250 m/s. neglecting potential energy effects and modeling air as an 1.008 kj/kg k, determine ideal gas with constant cp = (a) the velocity of the air at the inlet, in m/s. (b) the temperature of the air at the exit, in k. (c) the exit cross-sectional area, in cm2
Answers: 2
Engineering, 05.07.2019 19:10, justin20080
Tech a says never use a water hose to clean up dust after a repair. tech b says never use a floor scrubber to clean up dust after repairs. who is correct?
Answers: 1
History, 23.11.2019 20:31
Chemistry, 23.11.2019 20:31
Mathematics, 23.11.2019 20:31
Chemistry, 23.11.2019 20:31
Mathematics, 23.11.2019 20:31
Biology, 23.11.2019 20:31
History, 23.11.2019 20:31