Text this: An Optimization on Quadrature Formulas and Numerical Solutions of Ordinary Differential Equations