summaryrefslogtreecommitdiff
path: root/2384/CH10/EX10.20/ex10_20.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2384/CH10/EX10.20/ex10_20.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2384/CH10/EX10.20/ex10_20.sce')
-rwxr-xr-x2384/CH10/EX10.20/ex10_20.sce26
1 files changed, 26 insertions, 0 deletions
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");