If AC=0.0001q^2-0.02q+5+(5000/q).Find marginal revenue function

If AC is the revenue function, then the marginal function is its derivative:

0.0002q-0.02-(5000/q^2)

If not, what is AC?