✔ 最佳答案
y = xn sin x
y' = xn cos x + nxn-1 sin x
y" = - xn sin x + nxn-1 cos x + n(n - 1)xn-2 sin x + nxn-1 cos x
= - xn sin x + 2nxn-1 cos x + n(n - 1)xn-2 sin x
xy" - 2y' + xy = - xn+1 sin x + 2nxn cos x + n(n - 1)xn-1 sin x - 2xn cos x - 2nxn-1 sin x + xn+1 sin x
28xn-1 sin x + 2(n - 1)xn cos x = [n(n - 1)xn-1 - 2nxn-1] sin x + 2(n - 1)xn cos x
So we have:
n(n - 1) - 2n = 28
n2 - 3n - 28 = 0
(n - 7)(n + 4) = 0
n = 7 or -4 (rej.)