A function f(x) is linear and has a value of 29 at x = -2 and 39 at x = 3. Find its value at x = 5.
Find the minimum and maximum value of the function y=x3−3x2+6. Find the values of x at which it occurs.