summaryrefslogtreecommitdiff
path: root/608/CH21/EX21.21
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /608/CH21/EX21.21
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '608/CH21/EX21.21')
-rwxr-xr-x608/CH21/EX21.21/21_21.sce38
1 files changed, 19 insertions, 19 deletions
diff --git a/608/CH21/EX21.21/21_21.sce b/608/CH21/EX21.21/21_21.sce
index 2cc2c0368..2311a2062 100755
--- a/608/CH21/EX21.21/21_21.sce
+++ b/608/CH21/EX21.21/21_21.sce
@@ -1,20 +1,20 @@
-//Problem 21.21: A 200 V, d.c. shunt-wound motor has an armature resistance of 0.4 ohm and at a certain load has an armature current of 30 A and runs at 1350 rev/min. If the load on the shaft of the motor is increased so that the armature current increases to 45 A, determine the speed of the motor, assuming the flux remains constant.
-
-//initializing the variables:
-Ia1 = 30; // in Amperes
-Ia2 = 45; // in Amperes
-Ra = 0.4; // in ohm
-n1 = 1350/60; // in Rev/sec
-V = 200; // in Volts
-
-//calculation:
-//The relationship E proportional to (Phi*n) applies to both generators and motors. For a motor,
-//E = V - (Ia*Ra)
-E1 = V - (Ia1*Ra)
-E2 = V - (Ia2*Ra)
-//The relationship, E1/E2 = Phi1*n1/Phi2*n2, applies to both generators and motors. Since the flux is constant, Phi1 = Phi2
-Phi2 = Phi1
-n2 = E2*Phi1*n1/(Phi2*E1)
-
-printf("\n\n Result \n\n")
+//Problem 21.21: A 200 V, d.c. shunt-wound motor has an armature resistance of 0.4 ohm and at a certain load has an armature current of 30 A and runs at 1350 rev/min. If the load on the shaft of the motor is increased so that the armature current increases to 45 A, determine the speed of the motor, assuming the flux remains constant.
+
+//initializing the variables:
+Ia1 = 30; // in Amperes
+Ia2 = 45; // in Amperes
+Ra = 0.4; // in ohm
+n1 = 1350/60; // in Rev/sec
+V = 200; // in Volts
+
+//calculation:
+//The relationship E proportional to (Phi*n) applies to both generators and motors. For a motor,
+//E = V - (Ia*Ra)
+E1 = V - (Ia1*Ra)
+E2 = V - (Ia2*Ra)
+//The relationship, E1/E2 = Phi1*n1/Phi2*n2, applies to both generators and motors. Since the flux is constant, Phi1 = Phi2
+//Phi2 = Phi1
+n2 = E2*n1/(E1)
+
+printf("\n\n Result \n\n")
printf("\n the speed of the motor is %.2f rev/sec ",n2) \ No newline at end of file