Education Technology

Parabolic Hoops

Subject Area
Math: Explorations with Coding: Coding with Python
STEM & Coding: Computer Science: Computer Science
Level
6-8
9-12
Activity Time
50 Minutes
Software
TI-Nspire™ CX
TI-Nspire™ CX CAS
TI Calculator
TI-Nspire™ CX II
TI-Nspire™ CX series
TI-Nspire Version
5.2
Resource Types
Lessons
Format
Python Programming
TNS

Parabolic Hoops

Activity Overview

In this coding activity, students will create a virtual basketball court.  Using the location of the hoop and the vertex, the shooter will calculate the amplitude needed to “Swish” nothing but net!

Objectives

  • Use the randint() function to generate random integers.
  • Use the draw library to draw circles and line segments
  • Use loops to repeat code
  • Use if statements to make selections
  • Use the vertex form of a quadratics to solve problems
  • Use the absolute value function to validate solutions.

About the Lesson

In this lesson, students will code a virtual basketball court.  With each new shot, your program will randomly place you, the shooter, a random distance from a 10 ft hoop.  The game will generate a reasonable (x,y) location for the maximum point of your parabolic shot.  Using the location of the hoop and the vertex, you the shooter will calculate the amplitude, a, needed to “Swish” nothing but net!

 Note: This lesson requires the use of TI-Nspire™ CX II technology with OS 5.2 and above.

Subject Area
Math: Explorations with Coding: Coding with Python
STEM & Coding: Computer Science: Computer Science
Level
6-8
9-12
Activity Time
50 Minutes
Software
TI-Nspire™ CX
TI-Nspire™ CX CAS
TI Calculator
TI-Nspire™ CX II
TI-Nspire™ CX series
TI-Nspire Version
5.2
Resource Types
Lessons
Format
Python Programming
TNS
iPad is a trademark of Apple Inc., registered in the U.S. and other countries.
Vernier EasyData,Vernier EasyLink and Vernier EasyTemp are registered trademarks of Vernier Science Education.