summaryrefslogtreecommitdiff
path: root/431/CH2/EX2.22/EX2_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '431/CH2/EX2.22/EX2_22.sce')
-rwxr-xr-x431/CH2/EX2.22/EX2_22.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/431/CH2/EX2.22/EX2_22.sce b/431/CH2/EX2.22/EX2_22.sce
new file mode 100755
index 000000000..ee72d9450
--- /dev/null
+++ b/431/CH2/EX2.22/EX2_22.sce
@@ -0,0 +1,30 @@
+//Calculate the value of resistance
+//Chapter 2
+//Example 2.22
+//page 126
+clear;
+clc;
+disp("Example 2.22")
+V=440; //primary voltage in volts
+Ia=50; //armature current in amperes
+Ra=0.2; //armature resistance in ohms
+N=600; //speed in rpm
+E=V-(Ia*Ra); //emf induced in volts before adding extra resistance
+//E=K*phi*N=K1*Ia*N
+K1=E/(Ia*N);
+//we have the relation T=Kt1*Ia^2, T1=Kt1*Ia1^2
+//when torque is half, say torque be T1
+//T1=T/2. r=T/T1
+r=2;
+Ia1=sqrt(Ia^2/r);
+printf("Ia1=%fA",Ia1);
+//extra resistance R is introduced in the circuit
+N1=400;
+E1=(K1*Ia1*N1);
+R=((V-E1)/Ia1)-Ra;
+printf("\nvalue of extra resistance added=%fohms",R)
+
+
+
+
+