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 /3507/CH14/EX14.2 | |
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 '3507/CH14/EX14.2')
-rw-r--r-- | 3507/CH14/EX14.2/Ex14_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3507/CH14/EX14.2/Ex14_2.sce b/3507/CH14/EX14.2/Ex14_2.sce new file mode 100644 index 000000000..16fd1481e --- /dev/null +++ b/3507/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
|