An inertial double step length based method for constrained nonlinear equations with applications