An inverse problem of the wave equation