diff options
Diffstat (limited to '2459/CH14/EX14.2/Ex14_2.sce')
-rw-r--r-- | 2459/CH14/EX14.2/Ex14_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2459/CH14/EX14.2/Ex14_2.sce b/2459/CH14/EX14.2/Ex14_2.sce new file mode 100644 index 000000000..16fd1481e --- /dev/null +++ b/2459/CH14/EX14.2/Ex14_2.sce @@ -0,0 +1,15 @@ +//chapter 14
+//example 14.2
+//page 301
+
+Ap1=40 // db
+Ap2=43 // db
+
+// since Ap = 10*log10(power_gain), we get
+power_gain1=10^(Ap1/10)
+power_gain2=10^(Ap2/10)
+
+printf("power gain of 40 db = %.3f \n",power_gain1)
+printf("power gain of 43 db = %.3f \n",power_gain2)
+
+// the accurate answer for power gain of 43 db is 19952 but in book it is given as 20000 db
|