programmed clear and square root function