Jelajahi eBook
Kategori
Jelajahi Buku audio
Kategori
Jelajahi Majalah
Kategori
Jelajahi Dokumen
Kategori
>> syms t s
>> F=dsolve('D2y+16*y=4*sin(3*t)','y(0)=-1','Dy(0)=7')
F =
37/28*sin(4*t)-cos(4*t)+4/7*sin(3*t)
>> simplify(F)
ans =
-37/7*sin(t)*cos(t)+74/7*sin(t)*cos(t)^3+16/7*sin(t)*cos(t)^2-4/7*sin(t)-
1-8*cos(t)^4+8*cos(t)^2
>> pretty(ans)
3 2
4 2
>> syms t s
>> F=dsolve('D2y+16*y=4*sin(3*t)','y(0)=-1','Dy(0)=7')
F =
37/28*sin(4*t)-cos(4*t)+4/7*sin(3*t)
>> simplify(F)
ans =
-37/7*sin(t)*cos(t)+74/7*sin(t)*cos(t)^3+16/7*sin(t)*cos(t)^2-4/7*sin(t)-
1-8*cos(t)^4+8*cos(t)^2
>> pretty(ans)
3 2
4 2