The least value of the function \(x^2+px+q\) is \(3\), and this occurs when \(x=-2\). Find the values of \(p\) and \(q\).
Given
- the least value of a quadratic function,
- where it occurs, and
- the coefficient of \(x^2\),
can we write the function straight down?
If we were asked to sketch the graph, where would the vertex be?