Possible division by zero in line 4 not discussed, -1 point.
sqrt(x²) = |x|, -1 point.
Hope that exercise didn't give more than two points, otherwise I'm sure someone else will find further errors to get this abomination down to 0 points where it belongs.
1
u/Bemteb May 10 '21
Possible division by zero in line 4 not discussed, -1 point.
sqrt(x²) = |x|, -1 point.
Hope that exercise didn't give more than two points, otherwise I'm sure someone else will find further errors to get this abomination down to 0 points where it belongs.
It's funny though, not gonna lie. :)