blob: 84593e7e1c7c07b866bf2ba4660376e257d39880 (
plain)
1
2
3
4
5
6
7
|
//calculating the volume of the mercury thermometer
clc;
Ac=(%pi/4)*0.25^2;
disp(Ac,'Area of mercury thermometer')
Lc=13.8*10^3;
Vc=Ac*Lc;
disp(Vc,'Volume of mercury thermometer(mm3)')
|