summaryrefslogtreecommitdiff
path: root/3836/CH2/EX2.2/Ex2_2.sce
blob: 15fbafb42427540af34f17d534c1d4dc7eed11b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Initialisation
i1=10                  //current in amp
i3=3                  //current in amp


//Calculation
i2=i1-i3                  //current in amp

//Result
printf("\n I2 = %d A",i2)