The inverse problem of recovering the timewise-dependent heat source coefficient along with the temperature in a second-order hyperbolic equation with mixed derivative and with initial and Neumann boundary conditions and integral measurement is, for the first time, numerically investigated. The inverse problem considered in this paper has a unique solution. However, it is an ill-posed problem by being sensitive to noise. The one-dimensional inverse problem is discretized using the FDM and recast as a nonlinear least-squares minimization of Tikhonov regularization function. Numerically, this is effectively solved using the MATLAB subroutine lsqnonlin. The present numerical results demonstrate that accurate and stable approximate solutions have been attained.