summaryrefslogtreecommitdiff
path: root/3507/CH14/EX14.7/Ex14_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3507/CH14/EX14.7/Ex14_7.sce
downloadScilab-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.7/Ex14_7.sce')
-rw-r--r--3507/CH14/EX14.7/Ex14_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3507/CH14/EX14.7/Ex14_7.sce b/3507/CH14/EX14.7/Ex14_7.sce
new file mode 100644
index 000000000..cbc051eab
--- /dev/null
+++ b/3507/CH14/EX14.7/Ex14_7.sce
@@ -0,0 +1,19 @@
+//chapter 14
+//example 14.7
+//page 302
+
+Ao_db=70 // db
+Av_db=67 // db
+Rout=1.5 // kilo ohm
+
+// since 20*log(Ao)-20*log(Av)=Ao_db-Av_db we get
+// 20*log(Ao/Av) = Ao_db-Av_db so
+// Ao/Av = 10^((Ao_db-Av_db)/20)
+// and also Ao/Av=1+Rout/Rl since Av/Ao=Rl/(Rl+Rout)
+
+// so making Rl as subject we get
+Rl=Rout/(10^((Ao_db-Av_db)/20)-1)
+
+printf("minimum value of load resistance = %.3f kilo ohm \n",Rl)
+
+// the accurate answer is 3.636 kilo ohm