Abstract
In this paper, we consider an inverse problem for a linear heat equation involving two time-fractional derivatives, subject to a nonlocal boundary condition. We determine a source term independent of the space variable, and the temperature distribution with an over-determining function of integral type.