Difficult# Potential Energy Change for An Arbitrary Trigonometric $F(x)$

APPHMC-LLRXRP

A particular force propels a particle in such a way that the force can be represented by the function $F(x) = sin(2x)$, where $x$ is in meters and $F$ is in Newtons (the proper conversion of input and output units and dimensions is implied).

When the particle moves from $x = \frac \pi 2$ to$ x = \pi$, by how much does its potential energy change?