summaryrefslogtreecommitdiff
path: root/2300/CH9/EX9.12.3/Ex9_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2300/CH9/EX9.12.3/Ex9_3.sce')
-rwxr-xr-x2300/CH9/EX9.12.3/Ex9_3.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/2300/CH9/EX9.12.3/Ex9_3.sce b/2300/CH9/EX9.12.3/Ex9_3.sce
new file mode 100755
index 000000000..7ee178b02
--- /dev/null
+++ b/2300/CH9/EX9.12.3/Ex9_3.sce
@@ -0,0 +1,33 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 9 Basic Voltage and Power Amplifiers
+clc
+clear
+//AVm=mid-band gain of an RC-coupled amplifier
+fm=60//fm=frequency in Hz corresponding to the mid-band gain
+//AVl=reduced gain
+//AVh=AVl
+f=600*10^3//f=frequency in Hz corresponding to the reduced gain
+fl=30//fl=The lower half-power frequency in Hz
+fh=300*10^3//fh=The upper half-power frequency in Hz
+//|AVl|=(|AVm|)/sqrt(1+(fl/fm)^2)
+//Suppose (AVl/AVm)=a=low frequency gain with respect to the mid frequency gain
+//a=1/sqrt(1+(fl/fm)^2)//a=magnitude of the low frequency gain
+a=1/sqrt(1+(fl/fm)^2)
+format("v",5)
+o=atand(fl/fm)//o=phase angle in degree of the low frequency gain
+format("v",5)
+disp("For the low frequency gain with respect to the mid frequency gain ")
+disp(a,"Magnitude=")
+disp("degree",o,"Phase angle=")
+//|AVh|=(|AVm|)/sqrt(1+(f/fh)^2)
+//Suppose (AVh/AVm)=b=high frequency gain with respect to the mid frequency gain
+//b=1/sqrt(1+(f/fh)^2)//b=magnitude of the high frequency gain
+b=1/sqrt(1+(f/fh)^2)
+format("v",6)
+O=-atand(f/fh)//O=phase angle in degree of the high frequency gain
+format("v",6)
+disp("For the high frequency gain with respect to the mid frequency gain ")
+disp(b,"Magnitude=")
+disp("degree",O,"Phase angle=")
+