summaryrefslogtreecommitdiff
path: root/61/CH12/EX12.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /61/CH12/EX12.12
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 '61/CH12/EX12.12')
-rwxr-xr-x61/CH12/EX12.12/ex12_12.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/61/CH12/EX12.12/ex12_12.sce b/61/CH12/EX12.12/ex12_12.sce
new file mode 100755
index 000000000..c13abd458
--- /dev/null
+++ b/61/CH12/EX12.12/ex12_12.sce
@@ -0,0 +1,15 @@
+//ex12.12
+BW=3*10^6; //unity gain bandwidth
+A_ol=100; //open loop gain
+disp("non-inverting amplifier")
+R_f=220*10^3;
+R_i=3.3*10^3;
+A_cl=1+(R_f/R_i); //closed loop gain
+BW_cl=BW/A_cl;
+disp(BW_cl,'closed loop bandwidth in hertz')
+disp("inverting amplifier")
+R_f=47*10^3;
+R_i=1*10^3;
+A_cl=-R_f/R_i;
+BW_cl=BW/(abs(A_cl));
+disp(BW_cl,'closed loop bandwidth in hertz') \ No newline at end of file