summaryrefslogtreecommitdiff
path: root/1991/CH6/EX6.14/14.sce
blob: 912bc1cc4f98929b53666c777f5cd8d651eb928e (plain)
1
2
3
4
5
6
7
8
9
clc
clear
//input
l=11.7//length of thermometer at steam
l0=3.4*10^-2//length of thermometer at ice
//calculation
x=0.034+0.034*(0.244*10^-3*45^2)//length of temperature on standard scale
//output
printf("thread length is %3.3f m",x)