summaryrefslogtreecommitdiff
path: root/1571/CH12/EX12.5/Chapter12_Example5.sce
blob: 68920a906e05613abe77d7d20f27064769979ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear

//INPUT
h=2*3.14*100;//heat received by the lens per min in  cal
m=25;//mass of the ice in gm
l=80;//latent heat of ice in cal/gm

//CALCULATIONS
t=m*l/h;//time for which the sun rays falls in min

//OUTPUT
mprintf('time for which the sun rays falls is %3.2f min',t)