summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.48/Ex5_48.sce
blob: 1c3ae0d3dee157b5eb241c586edfcc9270f4be43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
I1=1                     //A
E=1.5
I2=0.6
R2=2.33                       //ohm

//Calculation
R=2*E/I1
R1=2*E/I2
r=R1-2*R2

//Result
printf("\n Internal resisatnce of each battery is  %0.3f  ohm", r)