diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2300/CH14/EX14.12.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2300/CH14/EX14.12.6')
-rwxr-xr-x | 2300/CH14/EX14.12.6/Ex14_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2300/CH14/EX14.12.6/Ex14_6.sce b/2300/CH14/EX14.12.6/Ex14_6.sce new file mode 100755 index 000000000..35e314134 --- /dev/null +++ b/2300/CH14/EX14.12.6/Ex14_6.sce @@ -0,0 +1,13 @@ +//scilab 5.4.1
+//Windows 7 operating system
+//chapter 14 Integrated Circuits and Operational Amplifiers
+clc
+clear
+R=2*1000//R=feedback resistance in ohms in the differentiator circuit
+C=0.01*10^-6//C=input capacitance in farad in the differentiator circuit
+//dvi/dt=1.5V/1ms for 0<t<1ms (given ramp input signal)
+//output voltage of a differentiator is given as vo=-RC(dvi/dt)
+d=1.5/(10^-3)//d=dvi/dt=1.5V/1ms
+vo=-R*C*d
+disp("V",vo,"Output voltage of a differentiator is ")
+disp("Hence for <t<1 ms,vo=-0.03V=-30mV.Otherwise,vo=0V")
|