One Dimensional Finite Volume Method applied for convective and diffusive problems