summaryrefslogtreecommitdiff
path: root/3754/CH29/EX29.9/29_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3754/CH29/EX29.9/29_9.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3754/CH29/EX29.9/29_9.sce')
-rw-r--r--3754/CH29/EX29.9/29_9.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3754/CH29/EX29.9/29_9.sce b/3754/CH29/EX29.9/29_9.sce
new file mode 100644
index 000000000..18a83e782
--- /dev/null
+++ b/3754/CH29/EX29.9/29_9.sce
@@ -0,0 +1,19 @@
+clear//
+
+//Variables
+
+Av = 100.0 //Voltage gain without feedback
+BW = 200.0 * 10**3 //Bandwidth without feedback (in Hertz)
+beta = 0.05 //Feedback ratio
+BWn = 1.0 * 10**6 //New bandwidth without feedback (in Hertz)
+
+//Calculation
+
+BW1 = (1 + beta*Av) * BW //Bandwidth with feedback (in Hertz)
+A1v = Av/(1 + beta*Av) //Voltage gain with feedback
+beta1 = (BWn/BW - 1)/Av //Amount of feedback required
+
+//Result
+
+printf("\n The new bandwidth is %0.3f kHz.\nThe new gain is %0.1f .",BW1*10**-3,A1v)
+printf("\n Amout of feedback required when BW = 1MHz is %0.3f percentage.",beta1 * 100)