summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.3/EX26_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1418/CH26/EX26.3/EX26_3.sce')
-rw-r--r--1418/CH26/EX26.3/EX26_3.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1418/CH26/EX26.3/EX26_3.sce b/1418/CH26/EX26.3/EX26_3.sce
new file mode 100644
index 000000000..4a20d5306
--- /dev/null
+++ b/1418/CH26/EX26.3/EX26_3.sce
@@ -0,0 +1,22 @@
+//EXAMPLE 26.3
+//SHUNT FIELD GENERATOR
+
+clc;
+funcprot(0);
+
+//Variable Initialisation
+I=450;.............//Load current in Amperes
+V=230;.............//Terminal voltage in Volts
+Rsh=50;............//Resistance of shunt field in Ohms
+Ra=0.03;...........//Resistance of armature in Ohms
+
+Ish=V/Rsh;..........//Current through shunt field in Amperes
+Ia=I+Ish;...........//Armature current in Amperes
+Va=Ia*Ra;..........//Armature voltage drop in Volts
+
+y=round(Va*10)/10;.........//Rounding of decimal places
+
+Eg=V+y;..........//EMF generated in the armature in Volts
+disp(Eg,"EMF generated in the armature in Volts:");
+
+