summaryrefslogtreecommitdiff
path: root/196/CH3/EX3.12
diff options
context:
space:
mode:
Diffstat (limited to '196/CH3/EX3.12')
-rwxr-xr-x196/CH3/EX3.12/example_3_12.sce12
-rwxr-xr-x196/CH3/EX3.12/result_3_12.txt1
2 files changed, 13 insertions, 0 deletions
diff --git a/196/CH3/EX3.12/example_3_12.sce b/196/CH3/EX3.12/example_3_12.sce
new file mode 100755
index 000000000..539b54f24
--- /dev/null
+++ b/196/CH3/EX3.12/example_3_12.sce
@@ -0,0 +1,12 @@
+//Chapter 3
+//Example 3-12
+//ProbOnOutputvoltage
+//Page 57
+clear;clc;
+//Given
+R1=100000;R2=100000;R3=100000;R=100000//in ohm
+Rf=33*10^3;//in ohm
+E1=5;E2=5;E3=-1;//in volts
+n=3;//number of inputs
+Vout=-(E1+E2+E3)/n;//output voltage
+printf("\n\n Value of output voltage = %.4f V \n\n",Vout) \ No newline at end of file
diff --git a/196/CH3/EX3.12/result_3_12.txt b/196/CH3/EX3.12/result_3_12.txt
new file mode 100755
index 000000000..169c615dd
--- /dev/null
+++ b/196/CH3/EX3.12/result_3_12.txt
@@ -0,0 +1 @@
+ Value of output voltage = -3.0000 V \ No newline at end of file