Elementary differential equations and boundary value problems