Honeywell interview question

implement sqrt() function through logic