I don’t trust the `sqrt`

function (and you shouldn’t either), this is just a safe way of computing it. It just so happens that this line is unnecessary for this specific problem, but I always use it when I take square roots.

1 Like

how did he came up with that construction . of 2n

why a+b and a-b and how?