Step 1: Understanding the Concept
f is increasing on \((0,1]\) and decreasing on \([1,5)\), so it has a local maximum at \(x=1\).
Hence \(f'(1)=0\).
Step 2: Find a
\(f'(x)=3x^2-6(a-2)x+3a\)
\(f'(1)=3-6a+12+3a=15-3a=0\)
\(a=5\), so \(f(x)=x^3-9x^2+15x+7\).
Step 3: Simplify the expression
\(f(1)=1-9+15+7=14\), so \(f(x)-14\) has a factor \((x-1)\).
\(f(x)-14=x^3-9x^2+15x-7=(x-1)(x^2-8x+7)=(x-1)^2(x-7)\).
Step 4: Compare the options
Dividing by \((x-1)^2\) gives \(x-7=0\), so \(x=7\), which is option (C).
Final Answer:
A root of the equation is 7.
\[ \boxed{\text{(C) }7} \]