summaryrefslogtreecommitdiff
path: root/2459/CH13/EX13.9/Ex13_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH13/EX13.9/Ex13_9.sce')
-rw-r--r--2459/CH13/EX13.9/Ex13_9.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2459/CH13/EX13.9/Ex13_9.sce b/2459/CH13/EX13.9/Ex13_9.sce
new file mode 100644
index 000000000..d078898cc
--- /dev/null
+++ b/2459/CH13/EX13.9/Ex13_9.sce
@@ -0,0 +1,17 @@
+//chapter13
+//example13.9
+//page283
+
+Rc=3 // kilo ohm
+Rl=6 // kilo ohm
+Rin=0.5 // kilo ohm
+Vin=1 // mV
+gain_beta=50
+
+R_AC=Rc*Rl/(Rc+Rl)
+Av=gain_beta*R_AC/Rin
+
+// since Av=Vout/Vin we get
+Vout=Av*Vin
+
+printf("output voltage = %.3f mV \n",Vout)