From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1409/CH8/EX8.3/8_3.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 1409/CH8/EX8.3/8_3.sce (limited to '1409/CH8/EX8.3/8_3.sce') diff --git a/1409/CH8/EX8.3/8_3.sce b/1409/CH8/EX8.3/8_3.sce new file mode 100644 index 000000000..300de1acf --- /dev/null +++ b/1409/CH8/EX8.3/8_3.sce @@ -0,0 +1,26 @@ +clc; +//page no 8-9 +//Example 8.3 +disp("at 1000kHz"); +Q=80; +fi=455*10^3;//in Hz +fs=1000*10^3;//in Hz +fsi=[fs+(2*fi)]*10^(-3); +disp(+'kHz',fsi,'fsi='); +rho=[(fsi*10^3)/fs]-[fs/(fsi*10^3)]; +disp(rho,'rho='); +//Rounding rho to 3 digits +rho1=1.386; +alpha=sqrt(1+(Q^2*rho1^2)); +disp(alpha,'Rejection ratio is'); +disp("at 50MHz"); +fs2=50*10^6; +fsi2=(fs2+2*fi)*10^(-6); +disp(+'MHz',fsi2,'fsi='); +rho2=[(fsi2*10^6)/fs2]-[fs2/(fsi2*10^6)]; +disp(rho2,'rho='); +//rounding rho2 to 0.036 +rho3=0.036; +alpha2=sqrt(1+(Q^2*rho3^2)); +disp(alpha2,'Rejection ratio is'); + -- cgit