summaryrefslogtreecommitdiff
path: root/147/CH1/EX1.17/Example1_17.sce
blob: 67db58c14047bf0dd8bc8c95a1cd8614e08c0085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
close();
clear;
clc;
I1 = -1; //A
I2 = 3; //A
I3 = 5; //A
I4 = -4; //A
I5 = -2; //A
I6 = -6; //A
//current assumed out of the node
I = (I1+I2+I3+I4+I5+I6);
mprintf("I = %d A",I);