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 /2882/CH14/EX14.14 | |
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 '2882/CH14/EX14.14')
-rwxr-xr-x | 2882/CH14/EX14.14/Ex14_14.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2882/CH14/EX14.14/Ex14_14.sce b/2882/CH14/EX14.14/Ex14_14.sce new file mode 100755 index 000000000..02d20e006 --- /dev/null +++ b/2882/CH14/EX14.14/Ex14_14.sce @@ -0,0 +1,21 @@ +//Tested on Windows 7 Ultimate 32-bit
+//Chapter 14 Operational Amplifiers Pg no. 442 and 443
+clear;
+clc;
+
+//Given
+//Figure 14.33
+
+V1=2;V2=1;V3=5.5;V4=2.2;V5=1.1//input voltages in volts
+R=50D3;//input resistances R1,R2,R3,R4 in ohms
+R5=10D3;//feedback resistance in ohms
+
+//Solution
+
+A=-R5/R;//gain for each input
+disp("(a)");
+Vo=A*(V1+V2+V3+V4+V5);//output voltage in volts
+printf("Normal output voltage Vo = %.2f Volts",Vo);
+disp("(b)");
+Vo=A*(V1+V2+V4+V5);//output voltage in volts
+printf("For R3 open, output voltage Vo = %.2f Volts",Vo);
|