failed alternitve to the a2+b2=c2 formula | ScratchStats