summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.40/Ex5_40.sce
blob: 6f82d91fa4a7449ba7c225136d310653de26f8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
V=19
I1=0.5
I2=2                       //A
r=2                         

//Calculation
E=V+I1*r

//Result
printf("\n E.M.F is  %0.3f  V", E)