summaryrefslogtreecommitdiff
path: root/1938/CH2/EX2.32/2_32.sce
diff options
context:
space:
mode:
Diffstat (limited to '1938/CH2/EX2.32/2_32.sce')
-rwxr-xr-x1938/CH2/EX2.32/2_32.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1938/CH2/EX2.32/2_32.sce b/1938/CH2/EX2.32/2_32.sce
new file mode 100755
index 000000000..88cd9ee60
--- /dev/null
+++ b/1938/CH2/EX2.32/2_32.sce
@@ -0,0 +1,13 @@
+clc,clear
+printf('Example 2.32\n\n')
+
+V=230,R_a=0.5
+N_1=800,N_2=600
+I_a2 =20 , I_a1=I_a2
+E_b1 = V - I_a1*R_a
+
+//N (prop.) E_b/phi (prop.) E_b as phi is constant
+E_b2=E_b1 *(N_2/N_1)
+//additional resistance required
+R_x = (V -E_b2)/I_a2 - R_a //because E_b2 = V - I_a2*(R_a+R_x)
+printf('Additional resistance required = %.2f ohms ',R_x)