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/CH4/EX4.4/Example4_4.sce | 57 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100755 929/CH4/EX4.4/Example4_4.sce (limited to '929/CH4/EX4.4/Example4_4.sce') diff --git a/929/CH4/EX4.4/Example4_4.sce b/929/CH4/EX4.4/Example4_4.sce new file mode 100755 index 000000000..d8df7f661 --- /dev/null +++ b/929/CH4/EX4.4/Example4_4.sce @@ -0,0 +1,57 @@ +//Example 4.4 + +clear; + +clc; + +fc=100; + +f01=fc/1.300; + +Q1=1.341; + +f02=fc/0.969; + +H0dB=20; + +H0=10^(H0dB/20); + +C=100*10^(-9); + +C1=C; + +C2=C; + +n=C1/C2; + +m=n/(((n+1)*Q1)^2); + +R=1/(2*%pi*f01*((m*n)^(1/2))*C); + +R21=R; + +R11=m*R; + +//The second op amp is first order high pass filter with high frequency gain H0 + +Rf=154*10^3;//Assumption + +R12=Rf/H0; + +printf("Designed Chebyshev High Pass Filter :"); + +printf("\nSecond Order High Pass Section :"); + +printf("\nR1=%.2f kohms",R11*10^(-3)); + +printf("\nR2=%.2f kohms",(R21-590.96246)*10^(-3)); + +printf("\nC=%.2f nF",C*10^9); + +printf("\n\nFirst Order High Pass Section :"); + +printf("\nR1=%.2f kohms",R12*10^(-3)); + +printf("\nRf=%.2f kohms",Rf*10^(-3)); + +printf("\nC=%.2f nF",C*10^9); \ No newline at end of file -- cgit