From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1967/CH2/EX2.1/2_1.sce | 12 ++++++++++++ 1967/CH2/EX2.2/2_2.sce | 10 ++++++++++ 1967/CH2/EX2.3/2_3.sce | 11 +++++++++++ 1967/CH2/EX2.4/2_4.sce | 13 +++++++++++++ 1967/CH2/EX2.5/2_5.sce | 13 +++++++++++++ 1967/CH2/EX2.6/2_6.sce | 13 +++++++++++++ 6 files changed, 72 insertions(+) create mode 100755 1967/CH2/EX2.1/2_1.sce create mode 100755 1967/CH2/EX2.2/2_2.sce create mode 100755 1967/CH2/EX2.3/2_3.sce create mode 100755 1967/CH2/EX2.4/2_4.sce create mode 100755 1967/CH2/EX2.5/2_5.sce create mode 100755 1967/CH2/EX2.6/2_6.sce (limited to '1967/CH2') diff --git a/1967/CH2/EX2.1/2_1.sce b/1967/CH2/EX2.1/2_1.sce new file mode 100755 index 000000000..2e4989fd8 --- /dev/null +++ b/1967/CH2/EX2.1/2_1.sce @@ -0,0 +1,12 @@ +clc +//initialisation of variables +clear +T= 40 //C +R= 0.0820 //lit-atm deg^-1 mol^-1 +v= 0.381 //lit +b= 0.043 //lit +a= 3.6 +//CALCULATIONS +P= (R*(273+T)/(v-b))-(a/v^2) +//RESULTS +printf ('Pressure = %.1f atm',P) diff --git a/1967/CH2/EX2.2/2_2.sce b/1967/CH2/EX2.2/2_2.sce new file mode 100755 index 000000000..e8fc58a05 --- /dev/null +++ b/1967/CH2/EX2.2/2_2.sce @@ -0,0 +1,10 @@ +clc +//initialisation of variables +clear +T= 0 //C +R= 0.0820 //lit-atm deg^-1 mol^-1 +p= 400 //atm +//CALCULATIONS +V= R*(273+T)/p +//RESULTS +printf ('Volume of the ideal gas = %.4f lit mol^-1',V) diff --git a/1967/CH2/EX2.3/2_3.sce b/1967/CH2/EX2.3/2_3.sce new file mode 100755 index 000000000..7399c303c --- /dev/null +++ b/1967/CH2/EX2.3/2_3.sce @@ -0,0 +1,11 @@ +clc +//initialisation of variables +clear +p= 400 //atm +T= 273 //K +R= 0.0820 //lit-atm deg^-1 mol^-1 +k= 1.27 +//CALCULATIONS +V= k*R*T/p +//RESULTS +printf ('Volume of the ideal gas = %.4f lit mol^-1',V) diff --git a/1967/CH2/EX2.4/2_4.sce b/1967/CH2/EX2.4/2_4.sce new file mode 100755 index 000000000..744613750 --- /dev/null +++ b/1967/CH2/EX2.4/2_4.sce @@ -0,0 +1,13 @@ +clc +//initialisation of variables +clear +V= 0.381 //lit +T= 313 //K +R= 0.0820 //lit-atm deg^-1 mol^-1 +pc= 72.9 //atm +//CALCULATIONS +p= R*T/V +r= p/pc +//RESULTS +printf ('Pressure of carbon dioxide gas = %.1f atm',p) +printf ('\n ratio = %.3f ',r) diff --git a/1967/CH2/EX2.5/2_5.sce b/1967/CH2/EX2.5/2_5.sce new file mode 100755 index 000000000..9a78296cb --- /dev/null +++ b/1967/CH2/EX2.5/2_5.sce @@ -0,0 +1,13 @@ +clc +//initialisation of variables +clear +n1= 0.25 //mole +n2= 0.75 //mole +l= 0.0832 //lit +T= 50 //C +p1= 404 //atm +p2= 390 //atm +//CALCULATIONS +P= n1*p1+n2*p2 +//RESULTS +printf ('Total Pressure = %.f atm',P) diff --git a/1967/CH2/EX2.6/2_6.sce b/1967/CH2/EX2.6/2_6.sce new file mode 100755 index 000000000..ab93605bb --- /dev/null +++ b/1967/CH2/EX2.6/2_6.sce @@ -0,0 +1,13 @@ +clc +clear +//initialisation of variables +n1= 0.25 //mole +nh= 0.75 //mole +p= 400 //atm +T= 50 //C +vn= 0.083 //lit +vh= 0.081 //lit +//CALCULATIONS +V= n1*vn+vh*nh +//RESULTS +printf ('Volume of given mixture is = %.3f lit',V) -- cgit