Numerical Solution of Nonlinear Boundary Value Problems with Applications