Nonlinear singular sturm-liouville problems and an application to transonic flow through a nozzle