This is my first question at StackExchange. It's about WolframAlpha.
The function $f(x)$ is defined as: $$f(x)=3x^2-2x+\int_0^2f(t)dt$$
And I'm trying to find the value of $f(2)$.
So at WolframAlpha, I typed in:
f(x)=3x^2-2x+integral(0,2)f(t)dt ; solve f(2)
and other variations like changing "solve f(2)" to "f(2)=?" but none of these worked.
How can I get this working?
Let $\int_0^2f(t)dt=a$. We get $$f(x)=3x^2-2x+a$$
Let $F'(x)=f(x)$. We get $$F(x)=x^3-x^2+ax+C$$
Therefore: $$\begin{eqnarray*}a&=&\int_0^2f(t)dt=F(2)-F(0)\\&=&(2^3-2^2+2a+C)-(0+C)\Longrightarrow a=-4\end{eqnarray*}$$
So: $$f(x)=3x^2-2x-4\Longrightarrow f(2)=4$$