blob: c39b276168c02cea4b315776e2e04cd184e7192f (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//initialisation of variables
l20=0.1//m
l1=0.0999//m
s=0.000011//1/c
t1=20
//CALCULATIONS
t=((l1-l20)/(l20*s))+20
//results
printf(' temperature the rod must be reduced is= % 1f C',t)
|