If 0 < x ≤ 6, then which one of the following is the maximum value of (x – 1)^2 + x ?	Select the correct option:
A) –2
B) –1
C) 0
D) 31
E) 2
the maximum value of (x – 1)^2 + x for 0 &lt; x ≤ 6 is when x=6 --&gt; (x – 1)^2 + x = 31   Answer: 31.
<result>D</result>
If 0 < x ≤ 6, then which one of the following is the maximum value of (x – 1)^2 + x ?