blob: 2bfde0cdeb7d914fc28e02262dc7a6f4509f6a24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//Given
A1=25.0 //mm**2
l2=1 //m
R2=1/58.0
A2=1
l1=1000
//Calculation
R=(l1/l2)*(A2/A1)
R1=R*R2
//Result
printf("\n The value of resistance is %0.2f ohm",R1)
|