Skip to main content
Work out a circle’s area, the distance between two points, and whole-number versions of floats, importing math three different ways. Open Lab 34 in the IP Lab Portal

What you will practice

  • Import math in different ways
  • Use sqrt() and pi
  • Compare ceil(), floor(), and trunc()

Before you start

Time

15 minutes

Where

IP Lab Portal

Module

Module 14: Modules and imports

  • In the IP Lab Portal, open Lab 34 - Geometry with math.
  • In class, this lab comes right after the Lesson 2 recap slide in Module 14 core material.