summaryrefslogtreecommitdiff
path: root/1752/CH10/EX10.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1752/CH10/EX10.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1752/CH10/EX10.4')
-rwxr-xr-x1752/CH10/EX10.4/exa_10_4.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/1752/CH10/EX10.4/exa_10_4.sce b/1752/CH10/EX10.4/exa_10_4.sce
new file mode 100755
index 000000000..e97db443e
--- /dev/null
+++ b/1752/CH10/EX10.4/exa_10_4.sce
@@ -0,0 +1,24 @@
+//Exa 10.4
+clc;
+clear;
+close;
+//given data
+format('v',9);
+d=3;// in mm
+d=d*10^-3;// in meter
+T=25;// in °C
+T=T+273;// in K
+D= 0.4*10^-4;// in m^2/s
+R= 8314;
+P_A1=1;// in atm
+P_A1=P_A1*10^5;// in w/m^2
+P_A2=0;
+C_A2=0;
+x2= 15;// in meter
+x1= 0;
+A= %pi/4*d^2;
+M_A= D*A/(R*T)*(P_A1-P_A2)/(x2-x1);// in kg mole/sec
+N_B= M_A;
+M_B= M_A*29;// in kg/sec
+disp(N_B,"Value of N_B in kg mole/sec")
+disp(M_B,"Value of M_B in kg /sec")