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 /443/CH20/EX20.4 | |
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 '443/CH20/EX20.4')
-rwxr-xr-x | 443/CH20/EX20.4/20_4.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/443/CH20/EX20.4/20_4.sce b/443/CH20/EX20.4/20_4.sce new file mode 100755 index 000000000..68d9ccf78 --- /dev/null +++ b/443/CH20/EX20.4/20_4.sce @@ -0,0 +1,22 @@ +pathname=get_absolute_file_path('20_4.sce')
+filename=pathname+filesep()+'20_4_data.sci'
+exec(filename)
+//Question 20.4
+//psc (in kg/m3)
+psc=ep/(r*t)
+//Mass of air (in kg/cycle)
+ma=nsc*V*psc
+//Scavanging ratio Rsc
+Rsc=(cf/(s*V*psc))
+//Trapping efficiency ntr
+ntr=nsc/Rsc
+//Brake power (in kW)
+bp=((ma*CV*nbth*s*far)/60)
+//the bsfc (in kg/kWh)
+bsfc=(cf*60*far/(bp))
+//Short circuting (in kg/h)
+sc=(cf*(1-ntr)*(60*far))
+printf("\n\nRESULTS\n\n")
+printf("\nbrake power: %f\n",bp)
+printf("\nthe bsfc %f\n",bsfc)
+printf("\nShort Circuting %f\n",sc)
\ No newline at end of file |