J.P. Morgan interview question

Write pseudocode for a square root computation.