summaryrefslogtreecommitdiff
path: root/620/CH5/EX5.6/example5_6.sce
blob: 99bf3869bc37c7921e00993deab8a3dfe16dfaad (plain)
1
2
3
4
5
6
7
r1=22;
r2=100;
r3=56;
v=12;
r=r1+r2+r3;
v3=v*r3/r;
disp("the voltage (in V) across the 56 kΩ resistor is"); disp(v3);