diff options
Diffstat (limited to '1457/CH4/EX4.2/4_2.sce')
-rwxr-xr-x | 1457/CH4/EX4.2/4_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1457/CH4/EX4.2/4_2.sce b/1457/CH4/EX4.2/4_2.sce new file mode 100755 index 000000000..6a1d2241f --- /dev/null +++ b/1457/CH4/EX4.2/4_2.sce @@ -0,0 +1,9 @@ +clc +//Initialization of variables +h=20 //m +c=4187 //N m /(kg K) +g=9.81 +//calculations +dT=g*h/c +//results +printf("Increase in temperature of water = %.3f K",dT) |