An initial value method for the Ambarzumian integral equation