summaryrefslogtreecommitdiff
path: root/2300/CH9/EX9.12.1
diff options
context:
space:
mode:
Diffstat (limited to '2300/CH9/EX9.12.1')
-rwxr-xr-x2300/CH9/EX9.12.1/Ex9_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2300/CH9/EX9.12.1/Ex9_1.sce b/2300/CH9/EX9.12.1/Ex9_1.sce
new file mode 100755
index 000000000..af0fe3e9d
--- /dev/null
+++ b/2300/CH9/EX9.12.1/Ex9_1.sce
@@ -0,0 +1,18 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 9 Basic Voltage and Power Amplifiers
+clc
+clear
+AVm=120//AVm=mid-band gain of an RC-coupled amplifier
+fm=100//fm=frequency in Hz corresponding to the mid-band gain
+AVl=60//AVl=reduced gain
+AVh=AVl
+f=100*10^3//f=frequency in Hz corresponding to the reduced gain
+//|AVl|=(|AVm|)/sqrt(1+(fl/fm)^2) where fl=lower half power frequency
+fl=sqrt((abs(AVm)/abs(AVl))^2 -1)*fm
+format("v",6)
+disp("Hz",fl,"The lower half-power frequency is =")
+//|AVh|=(|AVm|)/sqrt(1+(f/fh)^2) where fh=upper half power frequency
+fh=f/sqrt((abs(AVm)/abs(AVh))^2 -1)
+format("v",5)
+disp("kHz",fh/10^3,"The upper half-power frequency is =")//fh is converted in terms of kHz