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.28/EX5_28.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1757/CH5/EX5.28/EX5_28.sce (limited to '1757/CH5/EX5.28/EX5_28.sce') diff --git a/1757/CH5/EX5.28/EX5_28.sce b/1757/CH5/EX5.28/EX5_28.sce new file mode 100755 index 000000000..7454b90f7 --- /dev/null +++ b/1757/CH5/EX5.28/EX5_28.sce @@ -0,0 +1,22 @@ +//Example5.28 // To determine the compensated capacitance of an op-amp +clc; +clear; +close; +Slewrate = 10 ; // V/u sec +Ic = 1*10^-3 ; // mA // capacitor current +Vt = 0.7 ; // V // threshold voltage + +// the slew rate of an op-amp is defined as +// Slew rate = (dVo/dt) +// the unity frequency f is +f =(Slewrate/(8*3.14*Vt)); +f = f*10^6; // *10^6 because Slew rate is V/uV +disp('the unity frequency f is = '+string(f)+' Hz '); + +// The compansated capacitance Cm is +gm = (Ic/Vt); +Cm = (gm)/(4*3.14*f) ; +disp('The compansated capacitance Cm value is = '+string(Cm)+' F '); + + + -- cgit