Hi, I'm, a little confused by that equation you posted.
Newton's law is net Force = ma
the 'a' means acceleration. This acceleration already takes into account the effect of gravtiy (hence NET force). Thus the net force of any rocket is simply F = ma.
However.. the formula the HSC uses...