summaryrefslogtreecommitdiff
path: root/1217/CH4/EX4.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1217/CH4/EX4.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1217/CH4/EX4.2')
-rwxr-xr-x1217/CH4/EX4.2/Exa4_2.sce12
1 files changed, 12 insertions, 0 deletions
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