find the equation of the curve for which y'=3x^2 and which passes through (1,-1)

dy/dx = 3 x^2

so
y = x^3 + c

-1 = 1^3 + c
so c = -2

y = x^3 - 2