Answer:
A. n = 6
B. x = 0, x = 1, x = 3
Step-by-step explanation:
Given function:

Part A
To find the constant n for which the function f(x) attains its maximum value at x = 3, first differentiate the function by using the product rule.



Therefore, the derivative of function f(x) is:

Set the derivative equal to zero:

Simplify:

Substitute x = 3:

Use the Zero Factor principle to solve for n:


Therefore, the value of constant n for which the function f(x) attains its maximum value at x = 3 is n = 6.
To determine if this critical point is a maximum, we can use the second derivative test.
Differentiate f'(x) using the product rule.



Therefore:

As n = 6:

If f''(3) < 0, then x = 3 is a maximum. Substitute x = 3:

As f''(3) < 0, this justifies that a maximum is attained.
Part B
To find the points of inflection, we need to solve f''(x) = 0.

Therefore, when n = 4:

Set f''(x) equal to zero:

Use the Zero Factor principle to solve for x:

Therefore, the x-values of the points of inflection for the curve y = f(x) are: