Methods and problems in the calculation of transonic flows