summaryrefslogtreecommitdiff
path: root/2300/CH9/EX9.12.7/Ex9_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2300/CH9/EX9.12.7/Ex9_7.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2300/CH9/EX9.12.7/Ex9_7.sce')
-rwxr-xr-x2300/CH9/EX9.12.7/Ex9_7.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/2300/CH9/EX9.12.7/Ex9_7.sce b/2300/CH9/EX9.12.7/Ex9_7.sce
new file mode 100755
index 000000000..9c5dfcf88
--- /dev/null
+++ b/2300/CH9/EX9.12.7/Ex9_7.sce
@@ -0,0 +1,26 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 9 Basic Voltage and Power Amplifiers
+clc
+clear
+//In a single tuned amplifier
+L=120*10^-6//L=inductance in henry
+C=100*10^-12//C=capacitance in farad
+R=10//R=resistance in ohms
+hoe=50*10^-6//hoe=output impedance in mho(or S)
+hfe=100//hfe=current gain
+hie=2.5*10^3//hie=input impedance in ohm
+RT=10*10^3//RT=equivalent resistance of RB and Ri in parallel
+fo=1/(2*%pi*sqrt(L*C))//fo=resonant frequency
+format("v",5)
+disp("MHz",fo/10^6,"The resonant frequency is =")//fo is converted in terms of MHz
+Qo=(1/R)*sqrt(L/C)//Qo=Q-factor of the resonant frequency
+Ro=(Qo^2)*R//Ro=maximum impedance Zm
+Rp=1/(hoe+(1/Ro)+(1/RT))//Rp=equivalent resistance of the parallel combination of Ro,ro and RT
+Qe=(Qo*Rp)/Ro//Qe=effective Q-factor
+B=fo/Qe//B=bandwidth
+format("v",6)
+disp("kHz",B/10^3,"The bandwidth is =")//B is converted in terms of kHz
+AVm=-(hfe*Rp)/hie//AVm=maximum voltage gain
+format("v",6)
+disp(AVm,"The maximum voltage gain is =")