Splicing a Line Onto a Curve

DerivativesHard+30 XP+30

Splicing a Line Onto a Curve

A function is built from a cubic on the left and a straight line on the right:

f(x)={x3−3x2+4x≤3ax+bx>3f(x) = \begin{cases} x^3 - 3x^2 + 4 & x \le 3 \\[4pt] ax + b & x > 3 \end{cases}f(x)={x3−3x2+4ax+b​x≤3x>3​

The constants aaa and bbb are chosen so that fff is differentiable at x=3x = 3x=3.

What is f(5)f(5)f(5)?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.