diff options
Diffstat (limited to '196/CH3/EX3.12/example_3_12.sce')
-rwxr-xr-x | 196/CH3/EX3.12/example_3_12.sce | 12 |
1 files changed, 12 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 |