diff options
Diffstat (limited to '3876/CH2/EX2.10/Ex2_10.sce')
-rw-r--r-- | 3876/CH2/EX2.10/Ex2_10.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3876/CH2/EX2.10/Ex2_10.sce b/3876/CH2/EX2.10/Ex2_10.sce new file mode 100644 index 000000000..82504e0ad --- /dev/null +++ b/3876/CH2/EX2.10/Ex2_10.sce @@ -0,0 +1,20 @@ +//Chapter 2 Gases + +clc; +clear; + +//Initialisation of Variables +V= 0.5 //lit +T= 50 //C +n= 1 //mole +R= 0.0821 //lit atm mole^-1 +a= 4.28*10**-2 //litres mole^-1 +b= 3.6 //arm mole^-2 lit^2 + +//CALCULATIONS +P= n*R*(273+T)/V +P1= (n*R*(T+273)/(V-n*a))-(b/V**2) + +//RESULTS +mprintf("Pressure = %.0f atm",P) +mprintf("\nPressure using vanderwals equation= %.1f atm",P1) |