This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · posts/the-quadratic-formula-derived

The quadratic formula, derived

A garden has a perimeter of 10 m and an area of 6 m². How long are its sides? The answer needs , and solving it by completing the square gives the quadratic formula.

A rectangular garden has a perimeter of 10 m and an area of 6 m². How long are its sides?

Call one side . The two sides add up to half the perimeter, so the other side is , and the area says

You could guess here, but for most areas a guess won't work, so we solve the general equation instead, in three steps.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 20–75