diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1382/CH5/EX5.12 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1382/CH5/EX5.12')
-rwxr-xr-x | 1382/CH5/EX5.12/EX_5_12.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/1382/CH5/EX5.12/EX_5_12.sce b/1382/CH5/EX5.12/EX_5_12.sce new file mode 100755 index 000000000..d03e8601d --- /dev/null +++ b/1382/CH5/EX5.12/EX_5_12.sce @@ -0,0 +1,32 @@ +// Example 5.12:corner frequency and maximum GAIN +clc; +clear; +close; +Vcc=10;// Colector voltage in volts +Beta= 100; +Rc=1;// Collector resistance in killo ohms +Rs=600;//SERIES RESISTANCE IN OHMS +Re=0.2;// in kilo ohms +R1= 50;// in kilo ohms +R2= 10;// in kilo ohms +Vbe=0.7;// Base to emitter voltage in volts +C1=1;//capacitance in micro farad + +Vth=Vcc * (R2/(R1+R2)); // vOLTAGE AT BASE + + +Rth= (R1*R2)/(R1+R2); +Ib=((Vcc-Vbe)/((Rth+(1+Beta)*Re)*10^3))*10^5;//in micro ampere +Icq= Beta*Ib*10^-3;//in milli ampere +Vt=26;//volate at room termprature in milli volts +gm= (Icq/Vt)*10^3;//transconductance in milli ampere per volts +rpi= (Beta*Vt*10^-3)/(Icq*10^-3);//resistance +Rb=Rth;//base resistance in killo ohms +x=(rpi+(1+Beta)*Re*10^3);// +y=(Rs+Rb*10^3);// +ts=((x*y)/(x+y))*C1*10^-3;//in milli second +fl= (1/(2*%pi*ts*10^-3));//corner frequency in hertz +Ri=(x*Rb*10^-3)/(Rb+x*10^-3);// +Av= ((gm*10^-3*rpi*Rc*10^3)*Rb*10^3)/((Ri+Rs*10^-3)*10^3*(x*10^-3+Rb)*10^3); +disp (fl,"corner frequency in hertz is") +disp(Av,"maximum gain is") |