summaryrefslogtreecommitdiff
path: root/1757/CH5/EX5.33
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1757/CH5/EX5.33
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 '1757/CH5/EX5.33')
-rwxr-xr-x1757/CH5/EX5.33/EX5_33.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1757/CH5/EX5.33/EX5_33.sce b/1757/CH5/EX5.33/EX5_33.sce
new file mode 100755
index 000000000..13c05590d
--- /dev/null
+++ b/1757/CH5/EX5.33/EX5_33.sce
@@ -0,0 +1,20 @@
+//Example5.33 // To find Slew rate and closed loop gain of an op-amp
+clc;
+clear;
+close;
+fu = 1*10^6 ; // Hz // unity gain bandwidth
+fmax = 5*10^3 ; // KHz // full power bandwidth
+F3db = 12*10^3 ; // Hz // small signal bandwidth
+Vp = 10 ; // V // peak volt
+
+// the full power bandwidth of an op-amp
+// fmax=FPBW = (Slew rate/2*3.14*Vp);
+Slewrate = 2*3.14*Vp*fmax;
+Slewrate = Slewrate*(10^-6); // *10^-6 because Slewrate is V/u
+disp('the Slew rate of an op-amp is = '+string(Slewrate)+' V/u sec ');
+
+// // the 3-db frequency or small signal band width
+//f3db = (f/ACL);
+//the closed loop gain ACL
+ACL = fu/F3db ;
+disp('The closed loop gain ACL is = '+string(ACL)+' ');