Step 1: Evaluate the integral:
The integrand is \(x\), so we use the power rule for definite integrals.
\[ \int_{0}^{a} x\,dx = \left[\frac{x^{2}}{2}\right]_{0}^{a} = \frac{a^{2}}{2} \]
Step 2: Form the inequality:
The given condition is \(\int_{0}^{a} x\,dx \leq \frac{a}{2} + 6\).
Put in the value of the integral.
\[ \frac{a^{2}}{2} \leq \frac{a}{2} + 6 \]
Multiply both sides by 2, which is positive, so the sign stays the same.
\[ a^{2} \leq a + 12 \quad \Rightarrow \quad a^{2} - a - 12 \leq 0 \]
Step 3: Factorise and solve:
We look for two numbers with product \(-12\) and sum \(-1\). They are \(-4\) and \(3\).
\[ (a-4)(a+3) \leq 0 \]
The product of two factors is negative or zero only when \(a\) lies between the roots \(-3\) and \(4\), both included.
\[ -3 \leq a \leq 4 \]
Step 4: Check the options:
(A) \(-4 \leq a \leq 3\): this is the wrong interval. It would make \(a=-4\) valid, but \(a=-4\) gives \(8 \leq 4\), which is false. So (A) is wrong.
(B) \(a \geq 4\) or \(a \leq -3\): this is the region where the quadratic is positive, so it is the opposite of what we need. (B) is wrong.
(C) \(-3 \leq a \leq 4\): this matches our result. (C) is correct.
(D) \(-3 \leq a \leq 0\): this is only part of the answer. It leaves out \(a=2\), which satisfies \(2 \leq 7\). So (D) is wrong.
Final Answer:
The inequality holds exactly for \(-3 \leq a \leq 4\), which is option (C).
\[ \boxed{-3 \leq a \leq 4} \]