J.P. Morgan Interview Question

Write pseudocode for a square root computation.