Engineering
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.

answer
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 14:10, BardiFan
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
image
Engineering, 03.07.2019 14:10, volleyballfun24
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
image
Engineering, 04.07.2019 18:10, yasminothman02
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
image
Engineering, 04.07.2019 18:10, Tyrant4life
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
Do you know the correct answer?
Programming Assignment 7: Circuit Problem Generator P07
Complete and upload C program that wil...

Questions in other subjects:

Konu
Mathematics, 24.09.2019 02:30