Mean value theorem example: square root function