The function f is defined by f(x)=ax2+4x−7, where a is a constant. If f(2)=13, what is the value of a?
1
3
4
6