diff options
Diffstat (limited to '569/CH2/EX2.18')
-rwxr-xr-x | 569/CH2/EX2.18/2_18.sci | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/569/CH2/EX2.18/2_18.sci b/569/CH2/EX2.18/2_18.sci new file mode 100755 index 000000000..84593e7e1 --- /dev/null +++ b/569/CH2/EX2.18/2_18.sci @@ -0,0 +1,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)')
\ No newline at end of file |