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 /73/CH9/EX9.12/Example9_12.sci | |
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 '73/CH9/EX9.12/Example9_12.sci')
-rwxr-xr-x | 73/CH9/EX9.12/Example9_12.sci | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/73/CH9/EX9.12/Example9_12.sci b/73/CH9/EX9.12/Example9_12.sci new file mode 100755 index 000000000..97d5605c0 --- /dev/null +++ b/73/CH9/EX9.12/Example9_12.sci @@ -0,0 +1,18 @@ +//Chapter 9_Active Filters
+//Caption : Unity gain frequency and Capacitor determination
+//Example9.12: a)Determine the unity gain frequency,Fo,of a switched capacitor integrator having following specifications:Fclk=1 kHz, C1=1 pF,and C2=15.9 pF
+//b)What is the value of capacitor for an RC integrator having R=1.6 mega Ohm and Fo as obtained in part(a).
+//a)Solution:
+clear;
+clc;
+C1=1*10^-12;//source capacitor in F
+C2=15.9*10^-12;//feedback capacitor
+Fclk=1*10^3;//clock frequency or switching frequency
+Fo=1*(C1/C2)*Fclk/(2*%pi);
+disp('Hz',Fo,'unity gain frequency is:')
+//b)Solution:
+R=1.6*10^6;//resistor of RC integrator in Ohm
+C=1/(2*%pi*Fo*R);
+disp('nF',C*10^9,'for Rc integrator value of capacitor needed is:')
+// Note:
+// Obtained results are approximated to nearest values,thus Fo=10 Hz and C=10 nF
\ No newline at end of file |