Given m ^ 2 + M-1 = 0, find the value of the algebraic formula m ^ 3 + 2m ^ 2 + 2004

Given m ^ 2 + M-1 = 0, find the value of the algebraic formula m ^ 3 + 2m ^ 2 + 2004

Coincidentally, I'm also doing my math homework
Well, I can't afford it. I can't think of a simple way
It can only be worked out first, M = ± 5-1 under the root sign
m²+m-1=0
m²=1-m
m^3+2m^2+2004
=m(1-m)+m²+2004
Just put M & sup2; in
Well, I can't think of a good way to help you