summaryrefslogtreecommitdiff
path: root/3648/CH17/EX17.6
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH17/EX17.6')
-rw-r--r--3648/CH17/EX17.6/Ex17_6.sce10
-rw-r--r--3648/CH17/EX17.6/Ex17_6.txt1
2 files changed, 11 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)
diff --git a/3648/CH17/EX17.6/Ex17_6.txt b/3648/CH17/EX17.6/Ex17_6.txt
new file mode 100644
index 000000000..c7faddf1b
--- /dev/null
+++ b/3648/CH17/EX17.6/Ex17_6.txt
@@ -0,0 +1 @@
+Cost needed to operate is=0.0350 Dollars \ No newline at end of file