summaryrefslogtreecommitdiff
path: root/1379/CH13/EX13.1.7/example13_7.sce
blob: c644064e0f5e72fd7ddf82b24f9b645913a5dacd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 %");