solving quadratic equations using the quadratic formula