If y= x^3-3x+1 calculate y when x=2

When x=2,

y= (2)^3 - 3(2) + 1

= 8 - 6 + 1

= 3

Therefore, y=3 when x=2.