Operator splitting for the numerical solutions of hyperbolic/parabolic partial differential equations