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 /3547/CH2/EX2.4 | |
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 '3547/CH2/EX2.4')
-rw-r--r-- | 3547/CH2/EX2.4/2_4.jpg | bin | 0 -> 56328 bytes | |||
-rw-r--r-- | 3547/CH2/EX2.4/Ex2_4.sce | 22 |
2 files changed, 22 insertions, 0 deletions
diff --git a/3547/CH2/EX2.4/2_4.jpg b/3547/CH2/EX2.4/2_4.jpg Binary files differnew file mode 100644 index 000000000..67b4971d0 --- /dev/null +++ b/3547/CH2/EX2.4/2_4.jpg diff --git a/3547/CH2/EX2.4/Ex2_4.sce b/3547/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..1d99edc69 --- /dev/null +++ b/3547/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,22 @@ +// Example 2.4
+// a)To convert transmitted power into dBm b)To convert received power into mW
+// Page no. 61
+
+clc;
+clear;
+
+// Given data
+Ptr=0.012; // Transmitted power in watt
+PrdBm=-5; // Received power in dBm
+
+// a)To convert transmitted power into dBm
+PtrdBm=10*log10(Ptr/(10^-3)); // Transmitted power in dBm
+
+// Displaying the result in command window
+printf('\n Transmitted power = %0.2f dBm',PtrdBm);
+
+// b)To convert received power into mW
+PrmW=10^(-5/10); // Received power in mW
+
+// Displaying the result in command window
+printf('\n Received power = %0.4f mW',PrmW);
|