subject
Engineering, 06.03.2020 23:23 shayyy49

The ideal gas equation states that:
P = nRT/V
where P is the pressure, V is the volume, T is the temperature, R = 0.08206 (L atm) / (mol K) is the gas constant, and n is the number of moles.
Real gases, especially at high pressure, deviate from this behavior. Their response can be modeled with the van der
Waals equation:
P = nRT/V−nb − n^2a/V^2
where a and b are material constants.
1. Consider 1 mole ( n = 1 ) of nitrogen gas at T = 300K. (For nitrogen gas a = 1.39 (L^2 atm)/mol^2, and b = 0.0391 L/mol.), create a vector with values of Vs for 0.1 <_ V<_1 L, using increments of 0.02 L.
2. Using this vector calculate P twice for each value of V, once using the ideal gas equation and once with the van der Waals equation. Using the two sets of values for P, calculate the percent of error
((P waal - Pwaals / Pwaals) 100) for each value of V.
3. Finally, by using MATLAB's built-in function max, determine the maximum error and the corresponding volume.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 18:10
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
question
Engineering, 04.07.2019 18:10
Which of the following ziegler nichols tuning methods the response of the controller to a step input should exhibit an s-shaped curve? a)-open loop mode b)-closed loop mode c)-both modes (open & closed) d)-none of the modes (open & closed)
Answers: 3
question
Engineering, 04.07.2019 18:10
Awall of 0.5m thickness is to be constructed from a material which has average thermal conductivity of 1.4 w/mk. the wall is to be insulated with a material having an average thermal conductivity of 0.35 w/mk so that heat loss per square meter shall not exceed 1450 w. assume inner wall surface temperature of 1200°c and outer surface temperature of the insulation to be 15°c. calculate the thickness of insulation required.
Answers: 3
You know the right answer?
The ideal gas equation states that:
P = nRT/V
where P is the pressure, V is the volume,...
Questions
question
Mathematics, 16.10.2020 06:01
question
Mathematics, 16.10.2020 06:01
question
Mathematics, 16.10.2020 06:01
question
Mathematics, 16.10.2020 06:01
Questions on the website: 13722367