summaryrefslogtreecommitdiff
path: root/74/CH3/EX3.15/example15_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '74/CH3/EX3.15/example15_sce.sce')
-rwxr-xr-x74/CH3/EX3.15/example15_sce.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/74/CH3/EX3.15/example15_sce.sce b/74/CH3/EX3.15/example15_sce.sce
new file mode 100755
index 000000000..3274b0863
--- /dev/null
+++ b/74/CH3/EX3.15/example15_sce.sce
@@ -0,0 +1,12 @@
+//chapter 3
+// example 3.15
+//page 148
+// Vout=-(3Vin1+4Vin2+5Vin3)
+Rf=120*10^3;
+// for inverting summer we have Vout=-(Rf/R1Vin1+Rf/R2Vin2+Rf/R3Vin3)
+R=Rf/3;//Rf/R1=3 comparing the cofficients
+disp(R1)
+R2=Rf/4;
+disp(R2)
+R3=Rf/R3;
+disp(R3) \ No newline at end of file