Quasilinearization method and its application to physical problems