summaryrefslogtreecommitdiff
path: root/1430/CH8/EX8.6/exa8_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1430/CH8/EX8.6/exa8_6.sce')
-rw-r--r--1430/CH8/EX8.6/exa8_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1430/CH8/EX8.6/exa8_6.sce b/1430/CH8/EX8.6/exa8_6.sce
new file mode 100644
index 000000000..5977e2455
--- /dev/null
+++ b/1430/CH8/EX8.6/exa8_6.sce
@@ -0,0 +1,18 @@
+// Example 8.6
+// Comparison of a real and ideal Transformer
+// form figure 8.21
+omegaL_1=100;
+omegaM=490;
+omegaL_2=2500;
+Z=200;
+N=sqrt(omegaL_2/omegaL_1)
+// since omegaL_2>>|Z| and k=0.98 the transformer will act almost like an ideal transformer
+k=omegaM/sqrt(omegaL_1*omegaL_2);
+// Let us denote I_out/I_in = I_gain
+// V_out/V_in=V_gain
+I_gain=(%i*omegaM)/(%i*omegaL_2+Z);
+Z_in=(%i*omegaL_1*Z+(omegaM)^2-(omegaL_1*omegaL_2))/(%i*omegaL_2+Z);
+V_gain=(%i*omegaM*Z)/(%i*omegaL_1*Z+(omegaM)^2-(omegaL_1*omegaL_2));
+disp(I_gain,"Current gain=")
+disp(Z_in,"Input impedance(Ohms)=")
+disp(V_gain,"Voltage gain=")