summaryrefslogtreecommitdiff
path: root/2498/CH6/EX6.m.11/ex_m_6_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2498/CH6/EX6.m.11/ex_m_6_11.sce')
-rwxr-xr-x2498/CH6/EX6.m.11/ex_m_6_11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2498/CH6/EX6.m.11/ex_m_6_11.sce b/2498/CH6/EX6.m.11/ex_m_6_11.sce
new file mode 100755
index 000000000..d40d541d8
--- /dev/null
+++ b/2498/CH6/EX6.m.11/ex_m_6_11.sce
@@ -0,0 +1,15 @@
+// Exa Misc. 6.11
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+R1 = 10;// in k ohm
+R2 = 20;// in k ohm
+R3 = 10;// in k ohm
+R_F = 20;// in k ohm
+Vin1 = 2;// in V
+Vin2 = 1;// in V
+// The output voltage,
+Vo = ((-R_F/R1)*Vin1) - ((R_F/R2)*Vin2);// in V
+disp(Vo,"The output voltage in V is");