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 /1379/CH13/EX13.1.7/example13_7.sce | |
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 '1379/CH13/EX13.1.7/example13_7.sce')
-rwxr-xr-x | 1379/CH13/EX13.1.7/example13_7.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1379/CH13/EX13.1.7/example13_7.sce b/1379/CH13/EX13.1.7/example13_7.sce new file mode 100755 index 000000000..c644064e0 --- /dev/null +++ b/1379/CH13/EX13.1.7/example13_7.sce @@ -0,0 +1,20 @@ +
+
+//exapple 13.6
+clc; funcprot(0);
+// Initialization of Variable
+b=4.46*10^4;
+c=1.98*10^4;
+s=0;
+function[a]=intregrate()
+ s=0;
+ for i=1:10889
+ d=linspace(0,10000,10889);
+ y=(1-exp(-b*d(i))*c*(1-exp(-c*d(i))))*0.69;;
+ s=s+y;
+
+ end
+ a=y;
+endfunction
+a=intregrate();
+disp(a*100,"overall efficiency of cyclone separator in %");
|