summaryrefslogtreecommitdiff
path: root/3630/CH16/EX16.4/Ex16_4.sce
blob: d56f655c4bf0a7392ba3478600de7637db3da59a (plain)
1
2
3
4
5
6
7
8
9
10
clc;
v1=3;
v2=6;
v3=4;
rf=10000;
r1=10000;
r2=10000;
r3=10000;
Vout=-rf*((v1/r1)+(v2/r2)+(v3/r3));
disp('V',Vout,"Vout=");