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 --- 3547/CH2/EX2.4/2_4.jpg | Bin 0 -> 56328 bytes 3547/CH2/EX2.4/Ex2_4.sce | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 3547/CH2/EX2.4/2_4.jpg create mode 100644 3547/CH2/EX2.4/Ex2_4.sce (limited to '3547/CH2/EX2.4') diff --git a/3547/CH2/EX2.4/2_4.jpg b/3547/CH2/EX2.4/2_4.jpg new file mode 100644 index 000000000..67b4971d0 Binary files /dev/null and b/3547/CH2/EX2.4/2_4.jpg differ 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); -- cgit