Professional Documents
Culture Documents
Assignment Question
Assignment Question
Assignment Question
New temperature of a body that decreasing for every minute can be estimated by the
following equation:
where Tnew is the new temperature, Told is previous temperature, Ta is the ambient
temperature and k is the proportional constant. Suppose a metal ball heated to 80oC is
dropped at time, t = 0 minute into water that is held constant at Ta = 20oC.
Formulate algorithm and flowchart of loop structures to compute temperature of the ball for
every minute until Tnew < 30oC.
Answer: