summaryrefslogtreecommitdiff
path: root/695/CH2/EX2.24/Ex2_24.sce
diff options
context:
space:
mode:
Diffstat (limited to '695/CH2/EX2.24/Ex2_24.sce')
-rwxr-xr-x695/CH2/EX2.24/Ex2_24.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/695/CH2/EX2.24/Ex2_24.sce b/695/CH2/EX2.24/Ex2_24.sce
new file mode 100755
index 000000000..bd29d8261
--- /dev/null
+++ b/695/CH2/EX2.24/Ex2_24.sce
@@ -0,0 +1,17 @@
+//Caption:Determine the speed and percentage change in torque
+//Exa:2.24
+clc;
+clear;
+close;
+V=460;//in volts
+R_a=0.8;//in ohms
+I_a1=40;//in amperes
+I_a2=30;//in amperes
+N_1=500;//in rpm
+E_1=V-(I_a1*R_a);//in volts
+E_2=V-(I_a2*R_a);//in volts
+N_2=int(E_2*I_a1*N_1/(E_1*I_a2));
+disp(N_2,'Speed (in rpm)=');
+ratio=(I_a2/I_a1)^2;
+T_c=(1-ratio)*100;
+disp(T_c,'Percentage change in torque=') \ No newline at end of file