Python Tutorial

Quadratic Roots

« Previous | Next »

In this section, we’ll look at computing both real and complex roots of quadratic equations.

The problems in the table below are taken from the 6.01 Python Tutor, an interactive environment that is not available on OCW. Do not try to answer these questions in the PDF files; answers will not be checked, and cannot be submitted.

PROBLEM # QUESTIONS
4.1.1 Get real (PDF)
4.1.2 More complex (PDF)

« Previous | Next »

Learning Resource Types
Lecture Videos
Recitation Videos
Problem Sets
Exams with Solutions
Lecture Notes
Instructor Insights
Programming Assignments
Exams