blob: 3f4b9040c97627931f076b343afa52e7da5f9f15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
A=15*10**-4 //m**2
a=7.6*10**-8 // ohm m
l=2000 //m
b=0.005 //degree/C
//Calculation
R0=a*l/A
R50=R0*(1+(b*50))
//Result
printf("\n The value of resistance is %0.3f ohm",R50)
|