summaryrefslogtreecommitdiff
path: root/1538/CH18/EX18.6/Ex18_6.sce
blob: b0e8c4a81d65c94cd0c2e98bf16f816ee7e3c940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//example-18.6
//page no-550
//given
//resistivity of copper , nickel and silver are
rhoCu=0.015*10^-6  //ohm m
rhoNi=0.012*10^-6  //ohm m
rhoAg=0.016*10^-6  //ohm m
//atomic percent of nickle and silver
CNi=0.25
CAg=0.40
//the resistivity of Cu-Ni-Ag alloy at 300 K
rho=rhoCu+(rhoNi*CNi)+(rhoAg*CAg)  //ohm m
printf ("the resistivity of Cu=Ni-Ag alloy is %e ohm m",rho)