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 /249/CH14/EX14.3 | |
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 '249/CH14/EX14.3')
-rwxr-xr-x | 249/CH14/EX14.3/14_03.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/249/CH14/EX14.3/14_03.sce b/249/CH14/EX14.3/14_03.sce new file mode 100755 index 000000000..d08581cb6 --- /dev/null +++ b/249/CH14/EX14.3/14_03.sce @@ -0,0 +1,20 @@ +clear
+clc
+vo=1;
+t1=1/6;
+t2=1;
+t3=11/6;
+w=1/10;
+//Ratio of areas of the first 2 peaks
+A2_by_A1=0.5;
+R=A2_by_A1/(1-A2_by_A1);
+//From the location of 1st peak
+V1=(R+1)*vo*t1;
+//From the time between peaks
+V2=(R*vo)*((t2-t1)-(t1));
+//From fig 14.3
+N=1+(2*(t1/w))^2;
+printf("\n The reflux ratio is %f",R)
+printf("\n The volume of 1st tank is %f", V1)
+printf("\n The volume of 2nd tank is %f",V2)
+printf("\n The number of tanks are %f ",N)
\ No newline at end of file |