summaryrefslogtreecommitdiff
path: root/632/CH10/EX10.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /632/CH10/EX10.7
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 '632/CH10/EX10.7')
-rwxr-xr-x632/CH10/EX10.7/example10_7.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/632/CH10/EX10.7/example10_7.sce b/632/CH10/EX10.7/example10_7.sce
new file mode 100755
index 000000000..079ae05dd
--- /dev/null
+++ b/632/CH10/EX10.7/example10_7.sce
@@ -0,0 +1,21 @@
+//clc()
+Pexcess = 20;//%
+PSO3 = 5;//% ( Percent of sulphur burnt to SO3 )
+//S + O2 = SO2
+N = 1;//kmol sulphur
+Orequired = N;//kmol
+Osupplied = Orequired * ( 1 + Pexcess/100);
+Nsupplied = Osupplied * 79/21;
+NSO2 = (1-PSO3/100)*N;
+NSO3 = PSO3 * N /100;
+Oconsumed = NSO2 + 3/2 * PSO3/100;
+Oremaining = Osupplied - Oconsumed;
+Ntotal = NSO2 + NSO3 + Oremaining + Nsupplied;
+PSO2 = NSO2 * 100 / Ntotal;
+PSO3 = NSO3 * 100 / Ntotal;
+PO2 = Oremaining * 100 / Ntotal;
+PN2 = Nsupplied * 100 / Ntotal;
+disp("%",PSO2,"Percent SO2 in burner gas = ")
+disp("%",PSO3,"Percent SO3 in burner gas = ")
+disp("%",PO2,"Percent O2 in burner gas = ")
+disp("%",PN2,"Percent N2 in burner gas = ") \ No newline at end of file