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 /2300/CH9/EX9.12.1 | |
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 '2300/CH9/EX9.12.1')
-rwxr-xr-x | 2300/CH9/EX9.12.1/Ex9_1.sce | 18 |
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
|