blob: 90c41c48fc45283d67b0b1c62e169f1c4f175059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clear
//Given
Emf=2
Emf1=1.9
Emf2=1.8
R1=0.05
R2=0.06
R3=0.07
R0=5 //ohm
//Calculation
Emft=Emf+Emf1+Emf2
R=R1+R2+R3
Rt=R+R0
I=Emft/Rt
//Result
printf("\n The reading of the ammeter is %0.1f A",I)
|