summaryrefslogtreecommitdiff
path: root/1319/CH1/EX1.27/1_27.sce
diff options
context:
space:
mode:
Diffstat (limited to '1319/CH1/EX1.27/1_27.sce')
-rw-r--r--1319/CH1/EX1.27/1_27.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1319/CH1/EX1.27/1_27.sce b/1319/CH1/EX1.27/1_27.sce
new file mode 100644
index 000000000..a6ef2e0ec
--- /dev/null
+++ b/1319/CH1/EX1.27/1_27.sce
@@ -0,0 +1,16 @@
+//Determine the inductance of individual winding
+
+clc;
+clear;
+
+La=15; // Self inductance of first coil
+Lb=16;// Self inductance of second coil
+M=-8; // Since the flux from both coils oppose each other
+
+L1=La+M;
+L2=Lb+M;
+
+L=L1*L2/(L1+L2);
+
+printf('The inductance of the individual windings are %g H and %g H respectively.\n',L1,L2)
+printf('The equivalent inductance between the terminals is %g H\n',L)