diff options
Diffstat (limited to '443/CH1/EX1.2/1_2.sce')
-rwxr-xr-x | 443/CH1/EX1.2/1_2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/443/CH1/EX1.2/1_2.sce b/443/CH1/EX1.2/1_2.sce new file mode 100755 index 000000000..29d0af46f --- /dev/null +++ b/443/CH1/EX1.2/1_2.sce @@ -0,0 +1,10 @@ +pathname=get_absolute_file_path('1_2.sce')
+filename=pathname+filesep()+'1_2_data.sci'
+exec(filename)
+//solving simultaneously for indicated power using fp/bp=nm and fp+bp=ip:
+ip=fp/(1-nm)
+//brake power(in kw):
+bp=ip-fp
+printf("\n\nRESULTS\n\n")
+printf("\nindicated power:%f\n",ip)
+printf("\nbrake power:%f\n",bp)
\ No newline at end of file |