summaryrefslogtreecommitdiff
path: root/431/CH2/EX2.24/EX2_24.sce
diff options
context:
space:
mode:
Diffstat (limited to '431/CH2/EX2.24/EX2_24.sce')
-rwxr-xr-x431/CH2/EX2.24/EX2_24.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/431/CH2/EX2.24/EX2_24.sce b/431/CH2/EX2.24/EX2_24.sce
new file mode 100755
index 000000000..7b309e79c
--- /dev/null
+++ b/431/CH2/EX2.24/EX2_24.sce
@@ -0,0 +1,18 @@
+//Calculate the fully-load speed of the motor
+//Chapter 2
+//Example 2.24
+//page 128
+clear;
+clc;
+disp("Example 2.24")
+V=200;..............................//motor runs in volts
+Ia=15;.............................//current taken in amperes
+Ra=1;.................................//motor resistance in ohms
+E1=V-(Ia*Ra);
+printf("resistance when 1ohm=%fV",E1)
+R=5;....................................//resistance
+E2=V-(Ia*(Ra+R))
+printf("\nResistance when 5ohms connected in series=%fV",E2)
+N1=800;............................//speed of motor in rpm
+N2=N1*(E2/E1);
+printf("\nspeed at which motor will run when resistance is 5ohms=%frpm",N2) \ No newline at end of file