diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1409/CH8/EX8.3/8_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1409/CH8/EX8.3/8_3.sce')
-rw-r--r-- | 1409/CH8/EX8.3/8_3.sce | 26 |
1 files changed, 26 insertions, 0 deletions
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');
+
|