In this paper, we have constructed a flat Friedmann-Robertson-Walker (FRW) cosmological model in f ðR; TÞ gravity. The solution of Friedmann equations has been obtained assuming the quadratic equation of state p ¼ αρ þ βρ 2 , where α and β are parameters. The model describes an accelerating universe with positive energy density, negative pressure and negative cosmological constant. The behaviour of the deceleration parameter shows that the universe accelerates after an epoch of deceleration in a good agreement with recent observations. The nonconventional scenario for an accelerating universe with negative cosmological constant has been discussed.