summaryrefslogtreecommitdiff
path: root/3802/CH14/EX14.4/Ex14_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3802/CH14/EX14.4/Ex14_4.sce')
-rw-r--r--3802/CH14/EX14.4/Ex14_4.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3802/CH14/EX14.4/Ex14_4.sce b/3802/CH14/EX14.4/Ex14_4.sce
new file mode 100644
index 000000000..564dfa4e4
--- /dev/null
+++ b/3802/CH14/EX14.4/Ex14_4.sce
@@ -0,0 +1,20 @@
+//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex14_4.sce.
+
+clc;
+clear;
+max_demand=75; //in kilowatt
+time_duration=24*365; //in hour
+load_factor=0.45;
+tariff1=650;
+tariff2=1.30;
+annual_energy_consump=max_demand*time_duration*load_factor;
+Ce=tariff2*annual_energy_consump;
+Cf=tariff1*max_demand;
+total_annualcharge=Ce+Cf;
+overall_costperkwhr=total_annualcharge/annual_energy_consump;
+printf(" \n Overall cost per kWh= %1.2f rupees \n",overall_costperkwhr)