HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /An office is at 26 °C when the air conditioning leaves it…
EasyComputer ScienceHigh School (9–10)Computer Science › Automated and Emerging TechnologiesNumericalIGCSE

An office is at 26 °C when the air conditioning leaves it…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

An office is at 26 ∘C26\ ^\circ\text{C}26 ∘C when the air conditioning leaves it. It cools by 0.4 ∘C0.4\ ^\circ\text{C}0.4 ∘C each minute. The heater comes on when the reading falls to 20 ∘C20\ ^\circ\text{C}20 ∘C. The microprocessor reads the sensor every 303030 seconds.

After how many minutes does the heater come on, and how many readings are taken before then?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

A control loop reads the sensor, compares the reading with the stored values, acts, and repeats for as long as the system runs. Feedback means that what the actuator does changes the next sensor reading. With two stored values, the actuator comes on below the low value and goes off above the high value; between them nothing changes.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The drop. 26−20=626 - 20 = 626−20=6 degrees.

Step 2. The time. 6÷0.4=156 \div 0.4 = 156÷0.4=15 minutes.

Step 3. The readings. Two readings each minute, so 15×2=3015 \times 2 = 3015×2=30 readings.

Check. After 151515 minutes the office has cooled by 15×0.4=615 \times 0.4 = 615×0.4=6 degrees, to 20 ∘C20\ ^\circ\text{C}20 ∘C.

What if? If the office cooled twice as fast, the heater would come on after half the time, 7.57.57.5 minutes.

Answer: after 151515 minutes, with 303030 readings taken.

Log in to save this for later
← All Problems
← A heater uses two stored values. It switches on when the reading is below 18 °C and it is off, and…A freezer must sound an alarm whenever its temperature rises above -15 °C… →
More onComputer Science › Automated and Emerging Technologies

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A filter calls an email unwanted when its score is greater than its dividing line T…Hard
  2. A bank wants software to decide which card payments might be fraud…Hard
  3. A learning filter is given eight emails that users have labelled…Medium
  4. An email service has a filter that moves unwanted messages into a separate folder…Medium
  5. A health centre in a remote area uses an expert system to help a nurse decide whether a patient…Hard
All problems on this topic →