This research aims to accurately solve Troesch's problem using a designed feed forward neural network (FFNN) with a newly implemented Levenberg-Marquardt training algorithm. The authors demonstrate that their approach, which includes innovative weight selection and training techniques, effectively produces precise solutions for this important differential equation in various applied sciences. The proposed method's efficiency is validated through comparison with exact solutions and illustrates its potential in addressing ill-posed problems.