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 /73/CH8/EX8.8/Example8_8.sci | |
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 '73/CH8/EX8.8/Example8_8.sci')
-rwxr-xr-x | 73/CH8/EX8.8/Example8_8.sci | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/73/CH8/EX8.8/Example8_8.sci b/73/CH8/EX8.8/Example8_8.sci new file mode 100755 index 000000000..f7a66d872 --- /dev/null +++ b/73/CH8/EX8.8/Example8_8.sci @@ -0,0 +1,18 @@ +//Chapter 8_Applications of Operational Amplifier
+//Caption : Vp and Vo
+//Example8.8: In the circuit of non-inverting summing Op-Amp, V1=+2V, V2=-4V, V3=+5V. input resistors for all the three input signal are same and are equal to 1 kilo Ohm.The feedback resistor Rf is 2 kilo ohm. Determine the voltage Vp at the noninverting pin of the Op-Amp and the output Vo. Assume ideal Op=Amp.
+//Solution:
+clear;
+clc;
+Rf=2*10^3;//feedback resistor
+R1=1*10^3;
+R2=R1;
+R3=R2;
+V1=2;
+V2=-4;
+V3=5;
+n=3;//no of inputs
+Vp=(Rf/R1*V1+Rf/R2*V2+Rf/R3*V3)/n;
+Vo=(1+Rf/R1)*Vp;
+disp('V',Vp,'voltage at noninverting pin is:')
+disp('V',Vo,'output voltage voltage of noninverting summing Op-Amp is:')
\ No newline at end of file |