diff options
Diffstat (limited to '165/CH15/EX15.1/ex15_1.sce')
-rw-r--r-- | 165/CH15/EX15.1/ex15_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/165/CH15/EX15.1/ex15_1.sce b/165/CH15/EX15.1/ex15_1.sce new file mode 100644 index 000000000..cd248fd0a --- /dev/null +++ b/165/CH15/EX15.1/ex15_1.sce @@ -0,0 +1,16 @@ +//Example 15.1
+clc;
+
+//Design a LPF having a cutoff frequency of 2 kHz
+//With a pass band gain of 2
+fh=2000; //Cutoff frequency in Hz
+C=0.01*10^-6; //Assumed value of capacitor
+R=invr(2*%pi*fh*C);
+ceil(R);
+
+//Given pass band gain Af= 1 + Rf/R1
+Af=2; //Pass band gain
+Rf=R1*(Af-1);
+//Now the most probable value for Rf and R1 is 10Kohm
+printf('\nFeedback resistence used is 10000 ohm\n')
+printf('\nInput resistence used is 10000 ohm\n')
\ No newline at end of file |