diff options
Diffstat (limited to '3809/CH18/EX18.8/EX18_8.sce')
-rw-r--r-- | 3809/CH18/EX18.8/EX18_8.sce | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/3809/CH18/EX18.8/EX18_8.sce b/3809/CH18/EX18.8/EX18_8.sce new file mode 100644 index 000000000..5331dcb1d --- /dev/null +++ b/3809/CH18/EX18.8/EX18_8.sce @@ -0,0 +1,40 @@ +//Chapter 18, Example 18.8 +clc +//Initialisation +vcc=15 //voltage +RC=5.6*10**3 //resistance in ohm +RE=1.3*10**3 //resistance in ohm +R2=13*10**3 //resistance in ohm, +R1=82*10**3 //resistance in ohm +pi=3.14 //pi +fc=10 //frequency in hertz +VBE=0.7 //base to emitter voltage +hfe1=100 +hfe2=400 + +//Calculation +VB=vcc*(R2/(R1+R2)) //Quiescent base voltage +VE=VB-VBE //Quiescent emitter voltage +IE=VE/RE //Quiescent emitter current +IC=IE //Quiescent collector current +VO=vcc-(IC*RC) //Quiescent collector voltage + +re=1/(40*IE) +av=-RC/re //voltage gain +rp=(R1*R2)/(R1+R2) + +//if hfe=100 +hie1=hfe1*re +ri1=(rp*hie1)/(rp+hie1) + +//if hfe=400 +hie2=hfe2*re +ri2=(rp*hie2)/(rp+hie2) + +ro=RC + +//Results +printf("Small Signal Voltage Gain = %d\n",av) +printf("Small Signal Input Resistance is %d kOhm to %.1f kOhm\n",round(ri1/1000),(ri2/1000)) +printf("Small Signal Output Resistance is %.1f kOhm\n",(RC/1000)) + |