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 --- 2621/CH7/EX7.11/Ex7_11.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 2621/CH7/EX7.11/Ex7_11.sce (limited to '2621/CH7/EX7.11') diff --git a/2621/CH7/EX7.11/Ex7_11.sce b/2621/CH7/EX7.11/Ex7_11.sce new file mode 100644 index 000000000..7aab5acec --- /dev/null +++ b/2621/CH7/EX7.11/Ex7_11.sce @@ -0,0 +1,24 @@ +// Example 7.11 +clc; +clear; +close; +// Given data +format('v',6); +f_C= 1*10^3;//centre frequency in Hz +f_C_desh= 2*10^3;//new centre frequency in Hz +Q= 5;// selectivity +Af= -8; +C= 0.01*10^-6;// in F (assume) +R3= Q/(%pi*f_C*C);//in Ω +R3= R3*10^-3;// in kΩ +disp("The value of R3 is : "+string(R3)+" kΩ (160 kΩ (approx))"); +R1= round(-R3/(2*Af));// in kΩ +disp("The value of R1 is : "+string(R1)+" kΩ"); +R2= R1*10^3/(4*%pi^2*f_C^2*R1*10^3*R3*10^3*C^2-1);// in Ω +R2= R2*10^-3;// in kΩ +disp("The value of R2 is : "+string(R2)+" kΩ (2 kΩ (approx))"); +R2= 2;// in kΩ (approx) +R2_desh= R2*(f_C/f_C_desh)^2;// in kΩ +R2_desh= R2_desh*10^3;// in Ω +disp("The value of R2'' is : "+string(R2_desh)+" Ω") + -- cgit