testing mathematical equations: