diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2213/CH9/EX9.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2213/CH9/EX9.1')
-rwxr-xr-x | 2213/CH9/EX9.1/ex_9_1.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2213/CH9/EX9.1/ex_9_1.sce b/2213/CH9/EX9.1/ex_9_1.sce new file mode 100755 index 000000000..3cdc9d183 --- /dev/null +++ b/2213/CH9/EX9.1/ex_9_1.sce @@ -0,0 +1,27 @@ +//Example 9.1.//energy lost and total energy +clc; +clear; +close; +//given data : +format('v',7) +V=600;// in volts +I=350;//in A +Ts=20;// in sec +R=0.15;// in ohm +E_bse=(V/2)-(I*R); +E_bp=V-(I*R); +Tse=(E_bse/E_bp)*Ts; +Tp=Ts-Tse; +Vd=V-(2*I*R); +Ed1=(Vd/2)*I*(Tse/3600); +Ed2=((V/2)/2)*2*I*(Tp/3600); +El=(Ed1+Ed2)*10^-3; +disp("part (a)") +disp(El,"Energy lost in starting rhestat,El(kWh) = ") +El_1=(2*(I^2)*R*Ts)/(3600*1000); +disp("part (b)") +disp(El_1,"Energy lost in motors,El(kWh) = ") +//answer is wrong in part b in the textbook +Et=((V*I*Tse)+(2*V*I*Tp))/(3600*1000); +disp("part (c)") +disp(Et,"Total Energy,Et(kWh) = ") |