diff options
Diffstat (limited to '3507/CH11/EX11.15/Ex11_15.sce')
-rw-r--r-- | 3507/CH11/EX11.15/Ex11_15.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/3507/CH11/EX11.15/Ex11_15.sce b/3507/CH11/EX11.15/Ex11_15.sce new file mode 100644 index 000000000..2c34638fe --- /dev/null +++ b/3507/CH11/EX11.15/Ex11_15.sce @@ -0,0 +1,27 @@ +//chapter11
+//example11.15
+//page219
+
+Vcc=12 // V
+Rc=6 // kilo ohm
+
+// we know that Vce=Vcc-Ic*Rc
+// when Ic=0, Vce=Vcc i.e. 12V
+// when Vce=0, Ic=Vcc/Rc i.e.2mA
+
+// so equation of load line becomes Ic=-(1/6)*Vce+2
+x=linspace(0,12,5)
+y=-(1/6)*x+2
+clf()
+xtitle("dc load line","Vce(volts)","Ic(mA)")
+plot2d(x,y,style=3,rect=[0,0,13,6])
+
+
+// for Q point
+Ib=20d-3 // mA
+gain_beta=50
+
+Ic=gain_beta*Ib
+Vce=Vcc-Ic*Rc
+
+printf("Q point = %.3f V and %.3f mA i.e. (%.3f,%.3f) \n",Vce,Ic,Vce,Ic)
|