diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /746/CH4/EX4.02/4_02.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '746/CH4/EX4.02/4_02.sce')
-rwxr-xr-x | 746/CH4/EX4.02/4_02.sce | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/746/CH4/EX4.02/4_02.sce b/746/CH4/EX4.02/4_02.sce deleted file mode 100755 index a209b74e0..000000000 --- a/746/CH4/EX4.02/4_02.sce +++ /dev/null @@ -1,20 +0,0 @@ -//Mass flow//
-pathname=get_absolute_file_path('4.02.sce')
-filename=pathname+filesep()+'4.02-data.sci'
-exec(filename)
-//If I=integral of(pV.dA):
-//For system: ICS=Iab+Ibc+Icd+Ida
-//But ICS=0
-
-//For Aab:
-function p=f(y),p=-d*U*w*y^0,endfunction
-IAab=intg(0,t,f)
-
-//For Acd:
-function q=g(y),q=d*U*w*(2*y/t-(y/t)^2),endfunction
-IAcd=intg(0,t,g)
-
-//Mass flow rate across surface bc(in kg/sec):
-mbc=(-IAab-IAcd)/1000
-printf("\n\nRESULTS\n\n")
-printf("\n\nMass flow rate across surface bc: %.4f kg/sec\n\n",mbc)
|