From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1052/CH7/EX7.4/4.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1052/CH7/EX7.4/4.sce (limited to '1052/CH7/EX7.4') 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)); -- cgit