summaryrefslogtreecommitdiff
path: root/2414/CH1/EX1.7/Ex1_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2414/CH1/EX1.7/Ex1_7.sce')
-rwxr-xr-x2414/CH1/EX1.7/Ex1_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2414/CH1/EX1.7/Ex1_7.sce b/2414/CH1/EX1.7/Ex1_7.sce
new file mode 100755
index 000000000..5895ba218
--- /dev/null
+++ b/2414/CH1/EX1.7/Ex1_7.sce
@@ -0,0 +1,11 @@
+clc;
+//page 11
+//ex-1.7
+
+PmW=100; //power in mW
+PdBm=10*log10(PmW/1); //P in dBm level
+disp('dBm',PdBm,+'(a). Power in dBm level is:');
+PdBW=PdBm-30; //P in dBW level
+disp('dBW',PdBW,+'(b). Power in dBW level is:');
+PdBf=PdBm+120; //Pin dBf level
+disp('dBf',PdBf,+'(c) Power in dBf level is:');