diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /881/CH17/EX17.1/exa17_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '881/CH17/EX17.1/exa17_1.sce')
-rwxr-xr-x | 881/CH17/EX17.1/exa17_1.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/881/CH17/EX17.1/exa17_1.sce b/881/CH17/EX17.1/exa17_1.sce new file mode 100755 index 000000000..c781a77bc --- /dev/null +++ b/881/CH17/EX17.1/exa17_1.sce @@ -0,0 +1,28 @@ +clc; +//Example 17.1 +//Page No 690 + + + +//solution + +p1=10*10^-3; +p2=0.5*10^-3; + +disp("(a)The power levels, "); + +P1=10*log10(p1/0.001); + +disp('dBm',P1,"P = "); + +P2=10*log10(p2/0.001) + +disp('dBm',round(P2),"P = "); + +disp("(b)The difference "); + +P=10*log10(p1/p2); + +disp('dBm',round(P),"diff = "); + +disp("The 10mW power level is 13dB higher than 0.5W power level. "); |