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
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
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, 25.06.2019 09:20
question
Mathematics, 25.06.2019 09:30
Questions on the website: 13722367