A continuous random variable $x$ is distributed over the interval $[0,2]$ with probability density function $f(x) =ax^2 +bx$, where $a$ and $b$ are constants. If the mean of the distribution is $\frac{1}{2}$. Find the values of the constants $a$ and $b$.
- $a=2, b=- \frac{13}{6}$
- $a= – \frac{15}{8}, b=3$
- $a= – \frac{29}{6}, b=2$
- $a=3, b= – \frac{7}{2}$