add sqrt and pow, using divide and conqure