diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1652/CH7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1652/CH7')
-rwxr-xr-x | 1652/CH7/EX7.2/7_2.sce | 12 | ||||
-rwxr-xr-x | 1652/CH7/EX7.3/7_3.sce | 8 | ||||
-rwxr-xr-x | 1652/CH7/EX7.4/7_4.sce | 10 | ||||
-rwxr-xr-x | 1652/CH7/EX7.5/7_5.sce | 18 | ||||
-rwxr-xr-x | 1652/CH7/EX7.6/7_6.sce | 13 | ||||
-rwxr-xr-x | 1652/CH7/EX7.7/7_7.sce | 8 | ||||
-rwxr-xr-x | 1652/CH7/EX7.8/7_8.sce | 17 |
7 files changed, 86 insertions, 0 deletions
diff --git a/1652/CH7/EX7.2/7_2.sce b/1652/CH7/EX7.2/7_2.sce new file mode 100755 index 000000000..5caaa0c3c --- /dev/null +++ b/1652/CH7/EX7.2/7_2.sce @@ -0,0 +1,12 @@ +clc
+//Initialization of variables
+h=76 //cm
+d=13.5951 //g/cc
+g=980.655 //cm/s^2
+T=273.15 //K
+v=22414.6 //cm^3 /mol
+//calculations
+P=h*d*g
+R=P*v/(T)
+//results
+printf("Gas constant = %.3e ergs/deg. mol",R)
diff --git a/1652/CH7/EX7.3/7_3.sce b/1652/CH7/EX7.3/7_3.sce new file mode 100755 index 000000000..3e5c90110 --- /dev/null +++ b/1652/CH7/EX7.3/7_3.sce @@ -0,0 +1,8 @@ +clc
+//Initialization of variables
+cal=4.184*10^7 //ergs
+R=8.315*10^7 //ergs/deg/mol
+//calculations
+Rdash=R/cal
+//results
+printf("R in calories = %.3f cal/ deg mol",Rdash)
diff --git a/1652/CH7/EX7.4/7_4.sce b/1652/CH7/EX7.4/7_4.sce new file mode 100755 index 000000000..6f37d7909 --- /dev/null +++ b/1652/CH7/EX7.4/7_4.sce @@ -0,0 +1,10 @@ +clc
+//Initialization of variables
+R=8.315*10^7 //ergs/deg/mol
+T=273.2 //deg
+M=4 //g/mol
+//calculations
+u2=3*T*R/M
+u=sqrt(u2)
+//results
+printf("root mean square velocity = %.2e cm/sec",u)
diff --git a/1652/CH7/EX7.5/7_5.sce b/1652/CH7/EX7.5/7_5.sce new file mode 100755 index 000000000..193387bda --- /dev/null +++ b/1652/CH7/EX7.5/7_5.sce @@ -0,0 +1,18 @@ +clc
+//Initialization of variables
+n1=2
+n2=10
+n3=3
+P=720 //mm of Hg
+//calculations
+n=n1+n2+n3
+x1=n1/n
+P1=x1*P
+x2=n2/n
+P2=x2*P
+x3=n3/n
+P3=x3*P
+//results
+printf("\n Partial pressure of N2 = %d mm",P1)
+printf("\n Partial pressure of O2 = %d mm",P2)
+printf("\n Partial pressure of CO2 = %d mm",P3)
diff --git a/1652/CH7/EX7.6/7_6.sce b/1652/CH7/EX7.6/7_6.sce new file mode 100755 index 000000000..b1a0c7a9a --- /dev/null +++ b/1652/CH7/EX7.6/7_6.sce @@ -0,0 +1,13 @@ +clc
+//Initialization of variables
+T=273.2+25 //K
+n=1 //mol
+R=1.987 //cal/deg mol
+//calculations
+Etr=1.5*n*R*T
+Erot=1.5*n*R*T
+Evib=0
+Eel=0
+Etot=Etr+Erot+Evib+Eel
+//results
+printf("Total energy = %d cal",Etot)
diff --git a/1652/CH7/EX7.7/7_7.sce b/1652/CH7/EX7.7/7_7.sce new file mode 100755 index 000000000..a0a8a8b92 --- /dev/null +++ b/1652/CH7/EX7.7/7_7.sce @@ -0,0 +1,8 @@ +clc
+//Initialization of variables
+b=24.1 //cm^2/mol
+N=6.023*10^23 //mole^-1
+//calculations
+d=(3*b/(2*%pi*N))^(1/3)
+//results
+printf("Molecular diameter of He = %.2e cm",d)
diff --git a/1652/CH7/EX7.8/7_8.sce b/1652/CH7/EX7.8/7_8.sce new file mode 100755 index 000000000..fcb12be49 --- /dev/null +++ b/1652/CH7/EX7.8/7_8.sce @@ -0,0 +1,17 @@ +clc
+//Initialization of variables
+P=100 //atm
+T=200 //K
+n=1 //mole
+R=0.08206 //l atm/deg mol
+disp("From psychrometric charts,")
+Tc=126.2 //K
+Pc=33.5 //K
+//calculations
+Pr=P/Pc
+Tr=T/Tc
+disp("From z charts,")
+z=0.83
+V=z*n*R*T/P
+//results
+printf("Volume = %.3f liter",V)
|