$$\int_0^a \sin (\pi x/a)\delta(x-a/2)\sin (\pi x/a)dx$$
The context here is that I am taking the inner product $\langle \psi |H'|\psi \rangle$ (physics problem), so I believe the order matters. The dirac delta function must first operate on the right-most $\sin(\pi x/a)$, but I don't know how. Could someone help me out?