📅  最后修改于: 2022-03-11 15:00:45.156000             🧑  作者: Mango
lap = LaplaceTransform[ y''[t] - y[t] == f[t], t, s ] /. {y[0] -> 0, y'[0] -> 0};
sol = Solve[ lap, LaplaceTransform[y[t], t, s]];
InverseLaplaceTransform[ sol[[1, 1, 2]], s, t]