summaryrefslogtreecommitdiff
path: root/443/CH17/EX17.10/17_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '443/CH17/EX17.10/17_10.sce')
-rwxr-xr-x443/CH17/EX17.10/17_10.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/443/CH17/EX17.10/17_10.sce b/443/CH17/EX17.10/17_10.sce
new file mode 100755
index 000000000..e9bf7ddff
--- /dev/null
+++ b/443/CH17/EX17.10/17_10.sce
@@ -0,0 +1,19 @@
+pathname=get_absolute_file_path('17_10.sce')
+filename=pathname+filesep()+'17_10_data.sci'
+exec(filename)
+//Air consumption
+ma=(Va/ta)*Pa
+//Fuel consumption
+mf=(Vf/tf)*Pf
+//Air fuel ratio
+AF=ma/mf
+//Power output
+P=(W*N)/Dc
+//Brake specific fuel consumption
+bsfc=(mf*3600*1000)/P
+//Indicated thermal efficiency
+nith=P/(mf*CV)*100
+printf("\n\nRESULTS\n\n")
+printf("mf:%f",mf)
+printf("\nBrake specific fuel consumption:%f\n",bsfc)
+printf("\nIndicated thermal efficiency:%f\n",nith)