From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 929/CH3/EX3.17/Example3_17.sce | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 929/CH3/EX3.17/Example3_17.sce (limited to '929/CH3/EX3.17') diff --git a/929/CH3/EX3.17/Example3_17.sce b/929/CH3/EX3.17/Example3_17.sce new file mode 100755 index 000000000..5696f052b --- /dev/null +++ b/929/CH3/EX3.17/Example3_17.sce @@ -0,0 +1,47 @@ +//Example 3.17 + +clear; + +clc; + +f0=1*10^3; + +Q=10; + +HondB=0; + +Hon=10^(HondB/20); + +C=10*10^(-9);//Assuming C=10 nF + +C1=C; + +C2=C; + +R3=10*10^3; + +R4=R3/Hon; + +R5=Hon*R4; + +R2=(2*Q)/(2*%pi*f0*C); + +R1A=Q/(Hon*2*%pi*f0*C); + +R1B=R1A/((2*Q^2/Hon)-1); + +printf("Designed Multiple Feedback Notch Filter :"); + +printf("\nR1A=%.2f kohms",R1A*10^(-3)); + +printf("\nR1B=%.2f ohms",R1B); + +printf("\nR2=%.2f kohms",R2*10^(-3)); + +printf("\nR3=%.2f kohms",R3*10^(-3)); + +printf("\nR4=%.2f kohms",R4*10^(-3)); + +printf("\nR5=%.2f kohms",R5*10^(-3)); + +printf("\nC1=C2=%.2f nF",C*10^9); \ No newline at end of file -- cgit