summaryrefslogtreecommitdiff
path: root/620/CH29/EX29.7/example29_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /620/CH29/EX29.7/example29_7.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 '620/CH29/EX29.7/example29_7.sce')
-rw-r--r--620/CH29/EX29.7/example29_7.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/620/CH29/EX29.7/example29_7.sce b/620/CH29/EX29.7/example29_7.sce
new file mode 100644
index 000000000..6bfc7f419
--- /dev/null
+++ b/620/CH29/EX29.7/example29_7.sce
@@ -0,0 +1,18 @@
+r1=1500;
+r2=1200;
+b=100;
+disp("Part a");
+av=-b*r1/r;
+disp("the voltage gain of the amplifier without feedback is"); disp(av);
+disp("Part b");
+r3=82;
+k=r3/r1;
+a1=av/(1-k*av);
+disp("the voltage gain of the amplifier when the feedback capacitor is not connected is"); disp(a1);
+disp("Part c");
+r4=1000;
+ro=r1*r4/(r1+r4);
+av1=-b*ro/r2;
+k=r3/ro;
+a2=av1/(1-k*av1);
+disp("the new voltage gain with feedback is"); disp(a2); \ No newline at end of file