# How do you write the equation of the quadratic function with roots 0 and 2 and a vertex at (1, 5)?

General expression for a quadratic function is y= $a {x}^{2} + b x + c$
The required equation would be y= $- 5 {x}^{2} + 10 x$