Please enable JavaScript to use CodeHS

Coding in Math

Lesson 5.1 Calculating Area

Description

Students will learn about functions and parameters, and take an in-depth look at a function that prints text to the screen. They will write an equation to calculate area of a triangle and use a function to print the area value to the screen.


Objective

Students will be able to:

  • Use functions, parameters, and variables to calculate area of a triangle
  • Print the calculated area to the screen