summaryrefslogtreecommitdiff
path: root/1985/CH17/EX17.2/Chapter17_example2.sce
blob: 751df8bf552a8a31783e69cf48e9a3e70296cfdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
clear
//Input data
L2=0.032//Length of the wax melted portion in the iron rod in m
L1=0.08//Length of the wax melted portion in the copper rod in m
K1=385//Thermal conductivity of copper in W/m.K

//Calculations
K2=(K1*L2^2)/L1^2//Thermal conductivity of iron in W/m.K

//Output
printf('Thermal conductivity of iron is %3.1f W/m.K',K2)