deSolve(60*x''+1500*x=90*sin(2.5*t) and x(0)=0 and x'(0)=0,t,x)
를 입력시
x=−0.04*sin(5.*t)-5242.88*sin(t)*(((sin(t))^(2)-0.25)*(cos(t))^(2)-0.0625)*((sin(0.5*t))^(2)+2.75)*(cos(0.5*t))^(13)+5242.88*cos(t)*(((sin(t))^(2)+0.25)*(cos(t))^(2)-0.3125)*sin(0.5*t)*((sin(0.5*t))^(2)+2.25)*(cos(0.5*t))^(12)-29491.2*sin(t)*(((sin(t))^(2)-0.25)*(cos(t))^(2)-0.0625)*((sin(0.5*t))^(2)-0.23611111111111)*(cos(0.5*t))^(9)+21626.88*cos(t)*(((sin(t))^(2)+0.25)*(cos(t))^(2)-0.3125)*sin(0.5*t)*((sin(0.5*t))^(2)-0.375)*(cos(0.5*t))^(8)+9216.*sin(t)*(((sin(t))^(2)-0.25)*(cos(t))^(2)-0.0625)*(cos(0.5*t))^(7)-4300.8*cos(t)*(((sin(t))^(2)+0.25)*(cos(t))^(2)-0.3125)*sin(0.5*t)*(cos(0.5*t))^(6)-1935.36*sin(t)*(((sin(t))^(2)-0.25)*(cos(t))^(2)-0.0625)*(cos(0.5*t))^(5)+645.12*cos(t)*(((sin(t))^(2)+0.25)*(cos(t))^(2)-0.3125)*sin(0.5*t)*(cos(0.5*t))^(4)+15.36*sin(t)*(((sin(t))^(2)-0.25)*(cos(t))^(2)-0.0625)*((sin(0.5*t))^(2)+11.916666666667)*(cos(0.5*t))^(3)-15.36*cos(t)*(((sin(t))^(2)+0.25)*(cos(t))^(2)-0.3125)*sin(0.5*t)*((sin(0.5*t))^(2)+2.0833333333333)*(cos(0.5*t))^(2)-9.6*sin(t)*(((sin(t))^(2)-0.25)*(cos(t))^(2)-0.0625)*cos(0.5*t)+1.28*cos(t)*(((sin(t))^(2)+0.25)*(cos(t))^(2)-0.3125)*sin(0.5*t)
와 같은 해가 나오네요
deslove(60x'' + 1500x=90sin2.5t and x(0)=0 and x'(0)=0 , t, x )
라는 식을 풀면 비제차 항에 대한 해는 깔끔하게 나오는데 제차 해는
sint 2.5t 에 관해 정리되는게 아니고 삼각함수 공식을 어떻게든 적용해 sint 항으로 정리하는 것 같더군요..
덕분에 답이 매우매우 더러워집니다 ㅠㅠ 맞는지도 모르겠구요.
Asin5t+Bcos5t+Csin2.5t+Dcos2.5t 이런 식으로 깔끔하게 나오는 방법이 있을까요 ?ㅠㅠ
exact로 표기해도 안되네요
우변에 삼각함수가 들어가면 어떤 때는 제대로 나오고 어떤때는 저런식으로 꼬여서 나옵니다 ㅠㅠ
우선 제가 미분방정식에 대해 아는 것이 거의 없어서 설명 중 틀린 것이 있을 수 있으니 양해 바랍니다.

(잘못 된 것이 있다면 댓글로 남겨주세요)
1. 본문에 제일 먼저 나온 계산식을 입력해 보니 kwj**** 님과 같은 결과가 도출되었습니다.