From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1382/CH5/EX5.23/EX_5_23.sce | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 1382/CH5/EX5.23/EX_5_23.sce (limited to '1382/CH5/EX5.23') diff --git a/1382/CH5/EX5.23/EX_5_23.sce b/1382/CH5/EX5.23/EX_5_23.sce new file mode 100755 index 000000000..83929b546 --- /dev/null +++ b/1382/CH5/EX5.23/EX_5_23.sce @@ -0,0 +1,34 @@ +// Example 5.22:mid band gain and upper 3 db frequency +clc; +clear; +close; +Cmu=3;//capacitance in pico farad +Cpi=40;//in pico farad +Vt=26;//voltage in milli volts +Beta=150;// +Icq=1;//current in milli ampere +rpi= ((Beta*Vt)/Icq)*10^-3;// +gm=(Icq/Vt)*10^3;//transconductance in mili ampere per volt +rs=1;//in killo ohms +re=4.7;//in killo ohms +R1= 40;// in kilo ohms +R2= 20;// in kilo ohms +R3= 27;// in kilo ohms +Rb=(R2*R3)/(R2+R3);// +g=(rs*rpi)/(rs+rpi);// +tp1=(((Rb*g)*(Cpi+2*Cmu))/(Rb+g))*10^-9;//in second +m=rpi/(1+Beta);// +tp2= m*(Cmu+Cpi)*10^-9;// +Rc=4.7;//collector resistance in killo ohms +Rl=10;//load resistance in killo ohms +Rld= (Rc*Rl)/(Rc+Rl);// +tp3=Cmu*10^-12*Rld*10^3;//in second +fh1=(1/(2*%pi*tp1*10^6));//first 3-db upper cut off frequency in mega hertz +fh2=(1/(2*%pi*tp2*10^6));//second 3-db upper cut off frequency in mega hertz +fh3=(1/(2*%pi*tp3*10^6));//third 3-db upper cut off frequency in mega hertz +Avm= -gm*Rld*(rpi/(rpi+1));// +disp(fh1,"3-db upper cut off frequency in mega hertz is") +disp(fh2,"second 3-db upper cut off frequency in mega hertz") +disp(fh3,"third 3-db upper cut off frequency in mega hertz") +disp(Avm,"MIDBAND GAIN") + -- cgit