diff options
Diffstat (limited to '2459/CH13/EX13.17/Ex13_17.sce')
-rw-r--r-- | 2459/CH13/EX13.17/Ex13_17.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2459/CH13/EX13.17/Ex13_17.sce b/2459/CH13/EX13.17/Ex13_17.sce new file mode 100644 index 000000000..4f871a1d2 --- /dev/null +++ b/2459/CH13/EX13.17/Ex13_17.sce @@ -0,0 +1,23 @@ +//chapter13
+//example13.17
+//page291
+
+Es=10d-3 // V
+Rs=3d3 // ohm
+Rin=7d3 // ohm
+Rout=15 // ohm
+Rl=35 // ohm
+Ao=1000
+
+I1=Es/(Rs+Rin)
+V1=I1*Rin
+Av=Ao*Rl/(Rout+Rl)
+// since V2/V1=Av, we get
+V2=V1*Av
+
+P2=V2^2/Rl
+P1=V1^2/Rin
+Ap=P2/P1
+
+printf("magnitude of output voltage = %.2f V \n",V2)
+printf("power gain = %.2f \n",Ap)
|