Gravar e-mail: Piece-wise continuous solution to a class of nonlinear boundary value problems