Simple trigonometry. | ScratchStats