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 --- 1217/CH4/EX4.2/Exa4_2.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1217/CH4/EX4.2/Exa4_2.sce (limited to '1217/CH4/EX4.2') diff --git a/1217/CH4/EX4.2/Exa4_2.sce b/1217/CH4/EX4.2/Exa4_2.sce new file mode 100755 index 000000000..81a78b728 --- /dev/null +++ b/1217/CH4/EX4.2/Exa4_2.sce @@ -0,0 +1,12 @@ +//Exa 4.2 +clc; +clear; +close; +// given data +disp("As the input impedence of an op-amp circuit is very high & no current will enter the op-amp, hence node voltages at (a) & (b) will be at same potential, let Va=Vb=V"); +disp("writing KCL at node (b) we have (6-V)/30+(8-V)/40+(0-V)/30=0"); +V=48/11;//in volts +disp(V,"Voltage V in Volt is ; "); +disp("writing KCL at node (a) we have (3-V)/10+(4-V)/20=(V-Vo)/40"); +Vo=-(20-7*V);//in Volts +disp(Vo,"Output Voltage of the circuit Vo in Volt is ; "); \ No newline at end of file -- cgit