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 /1052/CH7/EX7.4 | |
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 '1052/CH7/EX7.4')
-rwxr-xr-x | 1052/CH7/EX7.4/4.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1052/CH7/EX7.4/4.sce b/1052/CH7/EX7.4/4.sce new file mode 100755 index 000000000..8bb57db2a --- /dev/null +++ b/1052/CH7/EX7.4/4.sce @@ -0,0 +1,13 @@ +clc;
+//Example 7.4
+//page no 67, fig 7.5
+printf("Example 7.4 page no,fig 7.5\n\n")
+//Given pollutant in ppm in liquid stream ,some pollutant in discharge volume
+//calculate what fraction of liquid bypass
+//liquid stream having 600 ppm pollutant
+//pollutant in the discharge stream is 50 ppm
+//if B =factio of liquid bypassed,then 1-B= fraction of liquid treated
+//performing a pollutant mass balance around point2 in fig. 7.5
+B=poly([0],'x');
+N=roots((1-B)*0+600*B-50*1)
+printf("\n\n calculation:\n calculation of liquid bypassed B=%.4f ",N(1));
|