From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3802/CH1/EX1.1/Ex1_1.jpg | Bin 0 -> 27273 bytes 3802/CH1/EX1.1/Ex1_1.sce | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 3802/CH1/EX1.1/Ex1_1.jpg create mode 100644 3802/CH1/EX1.1/Ex1_1.sce (limited to '3802/CH1/EX1.1') diff --git a/3802/CH1/EX1.1/Ex1_1.jpg b/3802/CH1/EX1.1/Ex1_1.jpg new file mode 100644 index 000000000..4350d9f02 Binary files /dev/null and b/3802/CH1/EX1.1/Ex1_1.jpg differ diff --git a/3802/CH1/EX1.1/Ex1_1.sce b/3802/CH1/EX1.1/Ex1_1.sce new file mode 100644 index 000000000..6ea01ce44 --- /dev/null +++ b/3802/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,35 @@ +//Book Name:Fundamentals of Electrical Engineering +//Author:Rajendra Prasad +//Publisher: PHI Learning Private Limited +//Edition:Third ,2014 + +//Ex1_1.sce. + +clc; +clear; +P=200; //power rating of lamp in watts +V=110; //voltage rating of lamp in volts + +//case1 +printf("\n(a)") +I=(P/V); +printf("\nCurrent in the lamp=%f A",I) + +//case2 +printf("\n(b)") +T=1; //time in hour for electric charge flow through the lamp +t=T*60*60; //time in seconds for electric charge flow through the lamp +q=I*t; +printf("\nElectric charge flowing through the lamp for one hour=%f coloumb",q) + +//case3 +printf("\n(c)") +Numberofdaysinmay=31; +time=10; //on time of lamp in hour per day +unitcharge=1.20; //electricity charge in rupees (1kwhr = 1unit) +t1=time*Numberofdaysinmay; //on time of lamp in hour per month +Energyconsumed=P*t1; //consumption of energy in watt-hour +Energyconsumedinkwhr=Energyconsumed/(1e3);//consumption of energy in kilowatt-hour +charges=Energyconsumedinkwhr*unitcharge; +printf("\nCharge for electricity=%f rupees",charges) + -- cgit