summaryrefslogtreecommitdiff
path: root/3507/CH14/EX14.15/Ex14_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH14/EX14.15/Ex14_15.sce')
-rw-r--r--3507/CH14/EX14.15/Ex14_15.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3507/CH14/EX14.15/Ex14_15.sce b/3507/CH14/EX14.15/Ex14_15.sce
new file mode 100644
index 000000000..a7377c594
--- /dev/null
+++ b/3507/CH14/EX14.15/Ex14_15.sce
@@ -0,0 +1,20 @@
+// chapter14
+// example14.15
+// page 311
+
+// for maximum power transfer, primary impedence = transistor output impedence and secondary impedence = load impedence
+Rp=1d3 // ohm
+Rs=10 // ohm
+
+// since Rp=(Np/Ns)^2*Rs, making Np/Ns i.e. n as subject we get
+n=(Rp/Rs)^(0.5)
+
+printf("required turn ratio = %d \n",n)
+
+if n>1
+ printf("transformer required is step down tranformer \n")
+elseif n<1
+ printf("transformer required is step up tranformer \n")
+else // n=1
+ printf("transformer is not required \n")
+end