How do you compute the x and y intercepts of a quadratic function?

For the x intercepts, set y to zero,and solve for x. For the x intercepts, set y to zero and solve for x.