I have an exercise where I have to calculate the potential energy function $U(x)$ of this force $F$. I know the function is given by integrating $-F$, but how do I do this? $c$ is a constant, and a and $x$ are both variables, expressed in meters.
Do I just integrate $F$ in function of $x$, because they specifically ask the function $U(x)$?