Description
This is a hands on programming activity that solves the quadratic equation in Real numbers.
The activity can be used as a class lecture or as a formative assessment. The level is middle school / Algebra 1 and intro in Python coding.
The problem is presented in a 14 min. video lecture with a Python code demonstration on repl.it
The Python code takes the coefficients of the equation from the keyboard and discusses the solutions based on the value of the discriminant.
The program is also a good illustration on how powerful generalizations we can implement when coding: this code will essentially solve ALL the quadratic equations that exist in Real numbers!
The problem can also be used as an assessment during an introductory course in Python.
Video Python hands on coding activity for middle school the quadratic equation
Highlights
Description
This is a hands on programming activity that solves the quadratic equation in Real numbers.
The activity can be used as a class lecture or as a formative assessment. The level is middle school / Algebra 1 and intro in Python coding.
The problem is presented in a 14 min. video lecture with a Python code demonstration on repl.it
The Python code takes the coefficients of the equation from the keyboard and discusses the solutions based on the value of the discriminant.
The program is also a good illustration on how powerful generalizations we can implement when coding: this code will essentially solve ALL the quadratic equations that exist in Real numbers!
The problem can also be used as an assessment during an introductory course in Python.