diff options
Diffstat (limited to '2498/CH6/EX6.11')
-rwxr-xr-x | 2498/CH6/EX6.11/ex6_11.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2498/CH6/EX6.11/ex6_11.sce b/2498/CH6/EX6.11/ex6_11.sce new file mode 100755 index 000000000..0f0963ff4 --- /dev/null +++ b/2498/CH6/EX6.11/ex6_11.sce @@ -0,0 +1,16 @@ +// Exa 6.11
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+Va = 0.2;// in V
+Vb = -0.5;// in V
+Vc = 0.8;// in V
+Ra = 33;// in k ohm
+Rb = 22;// in k ohm
+Rc = 11;// in k ohm
+R_F = 66;// in k ohm
+// Using Superposition theorm, the output voltage
+Vo = (-((R_F/Ra)*Va)) -(((R_F/Rb)*Vb)) -(((R_F/Rc)*Vc));// in V
+disp(Vo,"The output voltage in V is");
|