diff options
Diffstat (limited to '3648/CH17/EX17.6/Ex17_6.sce')
-rw-r--r-- | 3648/CH17/EX17.6/Ex17_6.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH17/EX17.6/Ex17_6.sce b/3648/CH17/EX17.6/Ex17_6.sce new file mode 100644 index 000000000..cef19b0bc --- /dev/null +++ b/3648/CH17/EX17.6/Ex17_6.sce @@ -0,0 +1,10 @@ +//Example 17_6
+clc();
+clear;
+//To calculate the cost needed to operate
+power=0.7 //Units in KW
+time=0.5 //Units in h
+heat=power*time //Units in K Wh
+cost=0.10 //Units in Dollars
+tcost=cost*heat //Units in Dollars
+printf("Cost needed to operate is=%.4f Dollars",tcost)
|