summaryrefslogtreecommitdiff
path: root/1757/CH5/EX5.28
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.28
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.28')
-rwxr-xr-x1757/CH5/EX5.28/EX5_28.sce22
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 ');
+
+
+