From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1757/CH5/EX5.33/EX5_33.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 1757/CH5/EX5.33/EX5_33.sce (limited to '1757/CH5/EX5.33') 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)+' '); -- cgit