Medieval Archer

A computer game uses functions to simulate the paths of an archer’s arrows. The x-axis represents the level ground on which the archer stands, and the coordinate pair (2,5) represents the top of a castle wall over which he is trying to fire an arrow. In response to user input, the first arrow followed a path defined by the function f(x)=6−x^2, failing to clear the castle wall.