summaryrefslogtreecommitdiff
path: root/3630/CH16/EX16.5/Ex16_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH16/EX16.5/Ex16_5.sce')
-rw-r--r--3630/CH16/EX16.5/Ex16_5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3630/CH16/EX16.5/Ex16_5.sce b/3630/CH16/EX16.5/Ex16_5.sce
new file mode 100644
index 000000000..128603e5e
--- /dev/null
+++ b/3630/CH16/EX16.5/Ex16_5.sce
@@ -0,0 +1,10 @@
+clc;
+v1=10;
+v2=8;
+v3=7;
+rf=1000;
+r1=10000;
+r2=10000;
+r3=10000;
+Vout=-rf*((v1/r1)+(v2/r2)+(v3/r3));
+disp('V',Vout,"Vout=");