From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2882/CH14/EX14.14/Ex14_14.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2882/CH14/EX14.14/Ex14_14.sce (limited to '2882/CH14/EX14.14') 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); -- cgit