A numerical analysis of the heavy-ion reaction based on the linear response theory