summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.42/Ex5_42.sce
blob: 42e2d119a83ba5a44d294f12b0b2956408d733dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//Given
n=10
E=1.5
R=4                     //ohm
r=0.1
a=8

//Calculation
Emf=n*E
Rt=R+(n*r)
I=Emf/Rt
Emf1=(a*E)-(2*E)
I1=Emf1/Rt
I11=I-I1

//Result
printf("\n Reduction in current is  %0.3f  A", I11)