summaryrefslogtreecommitdiff
path: root/215/CH16/EX16.13
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /215/CH16/EX16.13
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 '215/CH16/EX16.13')
-rwxr-xr-x215/CH16/EX16.13/ex16_13.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/215/CH16/EX16.13/ex16_13.sce b/215/CH16/EX16.13/ex16_13.sce
new file mode 100755
index 000000000..a46d15d2d
--- /dev/null
+++ b/215/CH16/EX16.13/ex16_13.sce
@@ -0,0 +1,26 @@
+clc
+//Example 16.13
+disp('Given')
+disp('Voltage gain = 40dB and cutoff frequency = 10k Hz')
+Av_dB=40
+Av=10^(Av_dB/20)
+f=10*10^3
+B=2*%pi*f
+//From figure 16.41(a)
+disp('1+Rf/R1=100(Gain)')
+//From figure 16.41(b)
+//The transfer function is
+disp('V+= Vi*(1/sC)/(1+1/sC)')
+//Combining two transfer functions
+disp('V0 = Vi*(1/sC)/(1+1/sC)*(1+Rf/R1)')
+//The maximum value of the combined transfer function is
+disp('Maximum value is V0 = Vi*(1+Rf/R1)')
+disp('Let R1=1k ohm')
+R1=10^3
+Rf=(Av-1)*R1
+printf("Rf= %d kohm \n",Rf*10^-3);
+disp('C=1 uF')
+C=10^-6
+//B=1/(R2*C)
+R2=1/(C*B)
+printf("R2= %3.2f ohm \n",R2); \ No newline at end of file