Question: use matlab coding Problem 2 . 1 9 The ideal gas law is P V = n R T and the Van der Waal modification

use matlab coding Problem 2.19
The ideal gas law is
PV=nRT
and the Van der Waal modification of the ideal gas law is
(P+n2aV2)(V-nb)=nRT
Assume that
Moles, n, is 2 mol
a is 5.536L2bar?mol2
b is 0.03049Lmol
Ideal constant, R is 0.08314472 L bar/ K mol
a) Use the ideal gas law to find the temperature for ten values of pressure, P from 0 to 400 bar when the volume, V, is kept constant at 1 L . The answer should be a variable array named Tas
b) Use Van der Waal's equation to find the temperature for ten values of pressure, P from 0 to 400 bar when the volume, V, is kept constant at 1 L . The answer should be a variable array named Tb.
c. Use the ideal gas law to find the temperature for ten values of volume, V, from 0.1 L to 10 L for a constant pressure P of 220 bar. The answer should be a variable named Tc.
d. Use Van der Waal's equation to find the temperature for ten values of volume, V, from 0.1 L to 10 L for a constant pressure P of 220 bar. The answer should be a variable named Td.
use matlab coding Problem 2 . 1 9 The ideal gas

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!