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 /2702/CH1/EX1.27/Ex_1_27.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 '2702/CH1/EX1.27/Ex_1_27.sce')
-rw-r--r-- | 2702/CH1/EX1.27/Ex_1_27.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2702/CH1/EX1.27/Ex_1_27.sce b/2702/CH1/EX1.27/Ex_1_27.sce new file mode 100644 index 000000000..c1bc001d5 --- /dev/null +++ b/2702/CH1/EX1.27/Ex_1_27.sce @@ -0,0 +1,18 @@ +// Exa 1.27
+clc;
+clear;
+close;
+// Given data
+Ao= 86;// in dB
+A= 40;// in dB
+f=100;// in kHz
+f=f*10^3;// in Hz
+// From 20*log(S) = 20*log(Ao/A), where S, stands for sqrt(1+(f/fb)^2)
+S= 10^((Ao-A)/20);
+// S= sqrt(1+(f/fb)^2)
+fb= f/sqrt(S^2-1);// in Hz
+Ao= 10^(Ao/20);
+ft= Ao*fb;// in Hz
+disp(Ao,"The value of Ao is : ")
+disp(fb,"The value of fb in Hz is : ")
+disp(round(ft*10^-6),"The value of ft in MHz is : ")
|