summaryrefslogtreecommitdiff
path: root/620/CH3/EX3.17/example3_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH3/EX3.17/example3_17.sce')
-rw-r--r--620/CH3/EX3.17/example3_17.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/620/CH3/EX3.17/example3_17.sce b/620/CH3/EX3.17/example3_17.sce
new file mode 100644
index 000000000..f9b107e5e
--- /dev/null
+++ b/620/CH3/EX3.17/example3_17.sce
@@ -0,0 +1,7 @@
+v=120;
+n=75/100;
+p=1.5*746/(1000*n);
+t=30;
+rs=5;
+cost=p*t*rs/100;
+disp("the cost (in $) to run the motor is "); disp(cost); \ No newline at end of file