Square root does not work as I expect it to

This deserves more than a small note. See here