summaryrefslogtreecommitdiff
path: root/443/CH17/EX17.3/17_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '443/CH17/EX17.3/17_3.sce')
-rwxr-xr-x443/CH17/EX17.3/17_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/443/CH17/EX17.3/17_3.sce b/443/CH17/EX17.3/17_3.sce
new file mode 100755
index 000000000..1bd974b31
--- /dev/null
+++ b/443/CH17/EX17.3/17_3.sce
@@ -0,0 +1,11 @@
+pathname=get_absolute_file_path('17_3.sce')
+filename=pathname+filesep()+'17_3_data.sci'
+exec(filename)
+//Brake power
+bp=(2*%pi*N*T)/60000
+//Friction power
+fp=ip-bp
+//Percentage losses
+Loss=fp/bp*100
+printf("\n\nRESULTS\n\n")
+printf("\nPercentage losses:%f\n",Loss) \ No newline at end of file