summaryrefslogtreecommitdiff
path: root/3802/CH14/EX14.3/Ex14_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3802/CH14/EX14.3/Ex14_3.sce')
-rw-r--r--3802/CH14/EX14.3/Ex14_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3802/CH14/EX14.3/Ex14_3.sce b/3802/CH14/EX14.3/Ex14_3.sce
new file mode 100644
index 000000000..d45fe5be4
--- /dev/null
+++ b/3802/CH14/EX14.3/Ex14_3.sce
@@ -0,0 +1,15 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex14_3.sce.
+
+clc;
+clear;
+average_demand=33.75; //in kilowatt
+time_duration=24*365; // in hours
+tariff=1.25; //in rupees per kilowatthour
+annualenergy_consumption=average_demand*time_duration;
+C=annualenergy_consumption*tariff;
+printf(" \n Annual bill of the consumer=%6.1f rupees \n",C)