diff options
Diffstat (limited to '1757/CH5/EX5.28')
-rwxr-xr-x | 1757/CH5/EX5.28/EX5_28.sce | 22 |
1 files changed, 22 insertions, 0 deletions
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 ');
+
+
+
|