Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
54 views1 page

Assignment Question

This document provides instructions for Assignment 6 in an Introduction to Computer Programming course. Students are asked to write an algorithm and flowchart using loop structures to calculate the decreasing temperature of a metal ball over time as it cools in water, using the given equation and starting at 80°C, cooling until it reaches below 30°C.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views1 page

Assignment Question

This document provides instructions for Assignment 6 in an Introduction to Computer Programming course. Students are asked to write an algorithm and flowchart using loop structures to calculate the decreasing temperature of a metal ball over time as it cools in water, using the given equation and starting at 80°C, cooling until it reaches below 30°C.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Introduction to Computer Programming (SKKC 1533)

Assignment 6 CO2 (05 Oct 2017) Name : ________________________________

New temperature of a body that decreasing for every minute can be estimated by the
following equation:

Tnew = Told - k(Told - Ta)

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:

You might also like