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 /3428/CH21 | |
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 '3428/CH21')
-rw-r--r-- | 3428/CH21/EX14.21.1/Ex14_21_1.sce | 11 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.10/Ex14_21_10.sce | 10 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.11/Ex14_21_11.sce | 9 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.12/Ex14_21_12.sce | 10 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.13/Ex14_21_13.sce | 26 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.14/Ex14_21_14.sce | 12 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.15/Ex14_21_15.sce | 13 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.16/Ex14_21_16.sce | 15 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.17/Ex14_21_17.sce | 14 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.18/Ex14_21_18.sce | 15 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.19/Ex14_21_19.sce | 16 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.2/Ex14_21_2.sce | 12 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.3/Ex14_21_3.sce | 10 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.4/Ex14_21_4.sce | 9 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.5/Ex14_21_5.sce | 13 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.6/Ex14_21_6.sce | 10 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.7/Ex14_21_7.sce | 10 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.8/Ex14_21_8.sce | 10 | ||||
-rw-r--r-- | 3428/CH21/EX14.21.9/Ex14_21_9.sce | 8 |
19 files changed, 233 insertions, 0 deletions
diff --git a/3428/CH21/EX14.21.1/Ex14_21_1.sce b/3428/CH21/EX14.21.1/Ex14_21_1.sce new file mode 100644 index 000000000..5147f322f --- /dev/null +++ b/3428/CH21/EX14.21.1/Ex14_21_1.sce @@ -0,0 +1,11 @@ +//Section-14,Example-1,Page no.-PC.7
+//To find the temperature at which pressure of gas will reach the bursting value.
+clc;
+//PV=nRT
+P=10
+V=(10^-3)*(1/10^-3)
+n=((5*10^-3)/30)
+R=0.0821
+T=((P*V)/(n*R))
+disp(T,'Required temperature(K)')
+
diff --git a/3428/CH21/EX14.21.10/Ex14_21_10.sce b/3428/CH21/EX14.21.10/Ex14_21_10.sce new file mode 100644 index 000000000..5ddefab2b --- /dev/null +++ b/3428/CH21/EX14.21.10/Ex14_21_10.sce @@ -0,0 +1,10 @@ +//Section-14,Example-6,Page no.-PC.17
+//To calculate the temperature at which v_mp(CO_2)=2*v_mp(CO_2)at 20 degree celcius.
+clc;
+//v_mp=sqrt((2*K*T)/m)
+//sqrt((2*K*T_1)/m)=2*((2*K*T_2)/m)
+T_2=293
+T_1=2^2*(T_2)
+disp(T_1,'Required temperature(K)')
+T_1_deg=T_1-273
+disp(T_1_deg,'Required temperature(degree celius)')
diff --git a/3428/CH21/EX14.21.11/Ex14_21_11.sce b/3428/CH21/EX14.21.11/Ex14_21_11.sce new file mode 100644 index 000000000..fc08418a4 --- /dev/null +++ b/3428/CH21/EX14.21.11/Ex14_21_11.sce @@ -0,0 +1,9 @@ +//Section-14,Example-7,Page no.-PC.17
+//To find the ratio of the rates of effusion of neon gas to that of helium gas at same temperature and pressure.
+clc;
+M_He=4
+M_Ne=20
+//r=r_Ne/r_He
+r=sqrt((M_He)/(M_Ne))
+disp(r,'Required ratio')
+
diff --git a/3428/CH21/EX14.21.12/Ex14_21_12.sce b/3428/CH21/EX14.21.12/Ex14_21_12.sce new file mode 100644 index 000000000..7576cce46 --- /dev/null +++ b/3428/CH21/EX14.21.12/Ex14_21_12.sce @@ -0,0 +1,10 @@ +//Section-14,Example-8,Page no.-PC.17
+//To find Molecular formula of Hydrocarbon.
+clc;
+//(r(hydrocarbon)/r(CH_4))=(M(CH_4)/M(hydrocarbon))
+M_CH4=16
+r_hc=1
+r_CH4=2
+M_hc=(16/(1/2)^2)
+disp(M_hc,'Molecular weight of hydrocarbon(g/mol)')
+//The hydrocarbon formula may be (C_4H_10) which has a molecular weight of 58g/mol.
diff --git a/3428/CH21/EX14.21.13/Ex14_21_13.sce b/3428/CH21/EX14.21.13/Ex14_21_13.sce new file mode 100644 index 000000000..2da8e03a3 --- /dev/null +++ b/3428/CH21/EX14.21.13/Ex14_21_13.sce @@ -0,0 +1,26 @@ +//Section-14,Example-1,Page no.-PC.21
+//To calculate collision number,collision frequency and mean free path for oxygen at 298K and 1 atm pressure.
+clc;
+M=((32*10^-3)/(6.023*10^23))
+disp(M,'Mass of one oxygen molecule(kg)')
+//N=P/(R*T)
+N=(1*6.023*10^23*10^3)/(0.0821*298)
+disp(N,'No.of O_2 molecules per m^3')
+R=8.314
+T=298
+m=32*10^-3
+v_avg=sqrt((8*R*T)/(%pi*m))
+disp(v_avg,'Average velocity of O2 molecule(ms^-1)')
+sig=3.6*10^-10
+Z_1=sqrt(2)*pi*(sig)^2*v_avg*N
+disp(Z_1,'Collision number(collisions per sec)')
+Z_11=(1/2)*(Z_1*N)
+disp(Z_11,'Collision frequency(collisions s^-1 m^-3)')
+lm=v_avg/Z_1
+disp(lm,'Mean free path(m)')
+
+
+
+
+
+
diff --git a/3428/CH21/EX14.21.14/Ex14_21_14.sce b/3428/CH21/EX14.21.14/Ex14_21_14.sce new file mode 100644 index 000000000..7cf843fe6 --- /dev/null +++ b/3428/CH21/EX14.21.14/Ex14_21_14.sce @@ -0,0 +1,12 @@ +//Section-14,Example-1,Page no.-PC.29
+//To calculate the pressure exerted using the Vanderwalls equation.
+clc;
+//(P+((a*n^2)/V^2)*(V-(n*b))=n*R*T
+n=10
+R=8.314
+T=298
+V=25*10^-3
+b=0.037*10^-3
+a=0.417
+P=((n*R*T)/(V-(n*b))-((a*n^2)/(V^2)))
+disp(P,'Required pressure(Nm^-2)')
diff --git a/3428/CH21/EX14.21.15/Ex14_21_15.sce b/3428/CH21/EX14.21.15/Ex14_21_15.sce new file mode 100644 index 000000000..8e2672cdb --- /dev/null +++ b/3428/CH21/EX14.21.15/Ex14_21_15.sce @@ -0,0 +1,13 @@ +//Section-14,Example-2,Page no.-PC.30
+//To calculate pressure exerted using ideal gas equation and Vanderwalls equation.
+clc;
+n=5
+R=8.314
+T=300
+V=1*10^-3
+P_1=((n*R*T)/V)
+disp(P_1,'Required pressure using ideal gas equation(Nm^-2)')
+a=0.1378
+b=0.0318*10^-3
+P_2=(((n*R*T)/(V-n*b))-((a*n^2)/(V^2)))
+disp(P_2,'Required pressure using vanderwalls equation(Nm^-2)')
diff --git a/3428/CH21/EX14.21.16/Ex14_21_16.sce b/3428/CH21/EX14.21.16/Ex14_21_16.sce new file mode 100644 index 000000000..58c29edc0 --- /dev/null +++ b/3428/CH21/EX14.21.16/Ex14_21_16.sce @@ -0,0 +1,15 @@ +//Section-14,Example-3,Page no.-PC.30
+//To calculate volume occupied according to Vanderwalls equation and Boyle's temperature.
+clc;
+//(P+(a-V^2))*(V-b)=R*T
+v_1=(2520+sqrt(((2520)^2)-4*(10^6)*0.2279))/(2*10^6)
+v_2=(2520-sqrt(((2520)^2)-4*(10^6)*0.2279))/(2*10^6)
+R=8.314
+T=298
+P=10^6
+V=((R*T)/P)
+disp(V,'Volume occupied according to Vanderwalls equation(m^3)')
+a=0.2279
+b=0.0428*10^-3
+T_B=(a/(R*b))
+disp(T_B,'Boyle`s temperature for methane gas(K)')
diff --git a/3428/CH21/EX14.21.17/Ex14_21_17.sce b/3428/CH21/EX14.21.17/Ex14_21_17.sce new file mode 100644 index 000000000..5de637d7f --- /dev/null +++ b/3428/CH21/EX14.21.17/Ex14_21_17.sce @@ -0,0 +1,14 @@ +//Section-14,Example-4,Page no.-PC.31
+//To calculate pressure using ideal gas equation and vanderwall`s gas equation.
+clc;
+n=12
+R=0.0821
+T=298
+V=10.0
+P_1=((n*R*T)/V)
+disp(P_1,'Pressure from ideal gas equation(atm)')
+a=1.49
+b=0.0399
+P_2=(((n*R*T)/(V-(n*b)))-((a*n^2)/(V^2)))
+disp(P_2,'Pressure from Vander walls gas equation(atm)')
+
diff --git a/3428/CH21/EX14.21.18/Ex14_21_18.sce b/3428/CH21/EX14.21.18/Ex14_21_18.sce new file mode 100644 index 000000000..d8f1e016b --- /dev/null +++ b/3428/CH21/EX14.21.18/Ex14_21_18.sce @@ -0,0 +1,15 @@ +//Section-14,Example-5,Page no.-PC.31
+//To calculate volume using Ideal gas equation and vander walls equation
+clc;
+n=3
+R=0.0821
+T=373
+P=50
+V_1=((n*R*T)/P)
+disp(V_1,'Volume according to Ideal gas equation(L)')
+a=1.36
+b=0.0318
+V_2=((n*R*T)/(P+((a*n^2)/V^2)))
+disp(V_2,'Volume according to Vanderwall`s gas equation(L)')
+
+
diff --git a/3428/CH21/EX14.21.19/Ex14_21_19.sce b/3428/CH21/EX14.21.19/Ex14_21_19.sce new file mode 100644 index 000000000..929824528 --- /dev/null +++ b/3428/CH21/EX14.21.19/Ex14_21_19.sce @@ -0,0 +1,16 @@ +//Section-14,Example-6,Page no.-PC.32
+//To calculate moles of ammonia.
+clc;
+P=20
+V=7.0
+R=0.0821
+T=373
+n=((P*V)/(R*T))
+a=4.17
+b=0.0371
+n_1=((P+((a*n^2)/V^2))*(V-(n*b)))/(R*T)
+n_2=((P+((a*n_1^2)/V^2))*(V-(n_1*b)))/(R*T)
+n_3=((P+((a*n_2^2)/V^2))*(V-(n_2*b)))/(R*T)
+n_4=((P+((a*n_3^2)/V^2))*(V-(n_3*b)))/(R*T)
+disp(n_4,'Moles of ammonia that wil occupy 7.0L at 20 atm and 100 degree C)
+
diff --git a/3428/CH21/EX14.21.2/Ex14_21_2.sce b/3428/CH21/EX14.21.2/Ex14_21_2.sce new file mode 100644 index 000000000..0c4b82950 --- /dev/null +++ b/3428/CH21/EX14.21.2/Ex14_21_2.sce @@ -0,0 +1,12 @@ +//Section-14,Example-2,Page no.-PC.8
+//To calculate the number of gas molecules left.
+clc;
+//PV=nRT
+P=(10^-5*(1/760))
+V=(10^-3*(1/1000))
+R=0.0821
+T=298
+n=((P*V)/(R*T))
+N_a=6.023*10^23 //1 mole gas=6.023*10^23 molecules
+N=n*N_a
+disp(N,'No. of gas molecules left')
diff --git a/3428/CH21/EX14.21.3/Ex14_21_3.sce b/3428/CH21/EX14.21.3/Ex14_21_3.sce new file mode 100644 index 000000000..9b11d0c0a --- /dev/null +++ b/3428/CH21/EX14.21.3/Ex14_21_3.sce @@ -0,0 +1,10 @@ +//Section-14,Example-3,Page no.-PC.8
+//To find whether the tank will blow up before it melts.
+clc;
+P_1=200
+T_1=298
+T_2=1808
+//(P_1/T_1)=(P_2/T_2)
+P_2=(P_1/T_1)*T_2
+disp(P_2,'Final pressure in the tank(atm)')
+//since P_2>700 atm,tank will blow up.
diff --git a/3428/CH21/EX14.21.4/Ex14_21_4.sce b/3428/CH21/EX14.21.4/Ex14_21_4.sce new file mode 100644 index 000000000..9c15a02c9 --- /dev/null +++ b/3428/CH21/EX14.21.4/Ex14_21_4.sce @@ -0,0 +1,9 @@ +//Section-14,Example-4,Page no.-PC.8
+//To determine how many times faster will He initially leak through a pinhole in the container.
+clc;
+M_2=28
+M_1=4
+//r=r_1/r_2
+r=sqrt(M_2/M_1)
+disp(r,'r_1/r_2')
+
diff --git a/3428/CH21/EX14.21.5/Ex14_21_5.sce b/3428/CH21/EX14.21.5/Ex14_21_5.sce new file mode 100644 index 000000000..bc67562e2 --- /dev/null +++ b/3428/CH21/EX14.21.5/Ex14_21_5.sce @@ -0,0 +1,13 @@ +//Section-14,Example-5,Page no.-PC.8
+//To calculate the distance from the HCL inlet end of the tube at which NH4Cl will first appear.
+clc;
+//r_1=x
+//r_2=2-x
+//r=r_1/r_2
+M_2=17
+M_1=36.5
+r=sqrt(M_2/M_1)
+//comparing we have, x/(2-x)=0.68
+x=(0.68*2)/1.68
+disp(x,'Required distance(m)')
+
diff --git a/3428/CH21/EX14.21.6/Ex14_21_6.sce b/3428/CH21/EX14.21.6/Ex14_21_6.sce new file mode 100644 index 000000000..2601b01b6 --- /dev/null +++ b/3428/CH21/EX14.21.6/Ex14_21_6.sce @@ -0,0 +1,10 @@ +//Section-14,Example-1,Page no.-PC.16
+//To calculate temperature at which rms velocity of hydrogen gas =100 ms^-1
+clc;
+//v_rms=sqrt((3*R*T)/M)
+v_rms=100
+R=8.314
+M=2*10^-3
+T=((v_rms^2*M)/(3*R))
+disp(T,'Required temperature(K)')
+
diff --git a/3428/CH21/EX14.21.7/Ex14_21_7.sce b/3428/CH21/EX14.21.7/Ex14_21_7.sce new file mode 100644 index 000000000..578eaf75a --- /dev/null +++ b/3428/CH21/EX14.21.7/Ex14_21_7.sce @@ -0,0 +1,10 @@ +//Section-14,Example-2,Page no.-PC.16
+//To calculate temperature at which v_mp of oxygen= v_mp of hydrogen
+clc;
+//v_mp=sqrt((2*R*T)/M)
+M_O2=32
+M_H2=2
+T_H2=298
+//v_mp(O2)/v_mp(H2)=(T_O2/M_O2)/(T_H2/M_H2)=1
+T_O2=T_H2*(M_O2/M_H2)
+disp(T_O2,'Required temperature(K)')
diff --git a/3428/CH21/EX14.21.8/Ex14_21_8.sce b/3428/CH21/EX14.21.8/Ex14_21_8.sce new file mode 100644 index 000000000..3e456d40e --- /dev/null +++ b/3428/CH21/EX14.21.8/Ex14_21_8.sce @@ -0,0 +1,10 @@ +//Section-14,Example-4,Page no.-PC.16
+//To calculate the temperature at which v_avg(N_2)=v_avg(He).
+clc;
+//v_avg=sqrt((8*K*T)/pi*m)
+//v_avgHe=sqrt((8*K*330)/(pi*4))
+//v_avgN_2=sqrt((8*K*T_2)/(pi*28))
+T_1=330
+K=1 //K=1(let)
+T_2=(8*K*T_1*%pi*28)/(%pi*4*8*K)
+disp(T_2,'Required temperature(K)')
diff --git a/3428/CH21/EX14.21.9/Ex14_21_9.sce b/3428/CH21/EX14.21.9/Ex14_21_9.sce new file mode 100644 index 000000000..98c865954 --- /dev/null +++ b/3428/CH21/EX14.21.9/Ex14_21_9.sce @@ -0,0 +1,8 @@ +//Section-14,Example-5,Page no.-PC.17
+//To calculate the temperature at which v_rms(He)=v_rms(H2).
+clc;
+//v_rms=sqrt((3*K*T)/m)
+//K=1(let)
+K=1
+T_He=(3*K*200*4)/(3*K*2)
+disp(T_He,'Required temperature(K)')
|