summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.13/Ex2_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '1184/CH2/EX2.13/Ex2_13.sce')
-rwxr-xr-x1184/CH2/EX2.13/Ex2_13.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1184/CH2/EX2.13/Ex2_13.sce b/1184/CH2/EX2.13/Ex2_13.sce
new file mode 100755
index 000000000..ccab01505
--- /dev/null
+++ b/1184/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,10 @@
+//Example 2-13, Page No - 40
+
+clear
+clc
+
+pout_db =12.3
+
+pout_mW = 0.001*10^(12.3/10)
+
+printf('The output power is %.1f mW',pout_mW*10^3)