Please enable JavaScript to use CodeHS

Coding in Math

Lesson 4.2 Vectors and Programming

Description

In this lesson, students will learn about a vector’s components, what they physically represent, how to calculate them, and how to use Python to make those calculations.


Objective

Students will be able to…

  • Describe what a vector’s components are and what the mean.
  • Use trigonometry to calculate a vector’s X and Y components.
  • Use Pythagorean Theorem to calculate the magnitude of a vector from its components.
  • Use Python to perform the vector component calculations.