From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2384/CH10/EX10.20/ex10_20.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 2384/CH10/EX10.20/ex10_20.sce (limited to '2384/CH10/EX10.20/ex10_20.sce') diff --git a/2384/CH10/EX10.20/ex10_20.sce b/2384/CH10/EX10.20/ex10_20.sce new file mode 100755 index 000000000..a6ec10caf --- /dev/null +++ b/2384/CH10/EX10.20/ex10_20.sce @@ -0,0 +1,26 @@ +// Exa 10.20 +clc; +clear; +close; +format('v',7) +// Given data +Pout = 25;// in kW +Pout = Pout*10^3;// in W +Vt = 250;// in V +Ra = 0.06;// in ohm +Rsh = 100;// in ohm +// Pout = Vt*I_L; +I_L = Pout/Vt;// in A +Ish = Vt/Rsh;// in A +Ia = I_L+Ish;// in A +Eg = Vt + (Ia*Ra);// in V +// Total armature power developed when working as a generator +Pdeveloped = Eg*Ia;// in W +Pdeveloped = Pdeveloped * 10^-3;// in kW +disp(Pdeveloped,"Total armature power developed in kW is"); +Ia = I_L-Ish;// in A +Eb = Vt - (Ia*Ra);// in V +// Total armature power developed when working as a motor +Pdeveloped = Eb*Ia;// in W +Pdeveloped = Pdeveloped * 10^-3;// in kW +disp(Pdeveloped,"Total armature power developed when working as a motor in kW is"); -- cgit