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.11.b/Example3_11_b.sce | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 929/CH3/EX3.11.b/Example3_11_b.sce (limited to '929/CH3/EX3.11.b/Example3_11_b.sce') diff --git a/929/CH3/EX3.11.b/Example3_11_b.sce b/929/CH3/EX3.11.b/Example3_11_b.sce new file mode 100755 index 000000000..a7b635d27 --- /dev/null +++ b/929/CH3/EX3.11.b/Example3_11_b.sce @@ -0,0 +1,47 @@ +//Example 3.11(b) + +clear; + +clc; + +m=1;//Q is maximised at m=1 + +n=2;//Order of filter + +f0=10*10^(3); + +Qnum=(m*n)^(1/2); + +Qden=m+1; + +Q=Qnum/Qden; + +C=1*10^(-9);//Assuming C=1 nF + +C2=C; + +C1=n*C; + +R=1/(Qnum*C*2*%pi*f0); + +R2=R; + +R1=m*R; + +w=4*%pi*10^4; + +f=2*10^4; + +Hw=1/(1-(w^(2)*R1*R2*C1*C2)+%i*w*((R1*C2)+(R2*C2))); + +Vom=10*abs(Hw); + +an=atan(imag(Hw)/real(Hw)); + +theta=180-(an*(180/%pi)); + +theta0=theta-90; + +printf("vo(t)=%.3f cos(4*pi*(10^4)*t+",Vom); + +printf("%.2f) V",theta0); \ No newline at end of file -- cgit