3. q> k va q=k (rezonans) ikki holda y''+k2y=sin(qx) differensial tenglamaning umumiy yechimini toping.
> restart; de:=diff(y(x),x$2)+k^2*y(x)=sin(q*x); de:=
> dsolve(de,y(x));
Endi rezonans holida yechimni topamiz. Buning uchun dsolve buyrug’ining oldida q=k ni yozish kerak.
> q:=k: dsolve(de,y(x));
Yechimning fundamental (bazis) sistemasi. dsolve buyrug’i yechimning fundamental sistemasini topish imkoniyatini yaratadi. Buning uchun dsolve buyrug’i parametrida output=basis deb ko’rsatish kerak.
Misol 1. Diffrensial tenglama yechimining fundamental sistemasini toping: y(4)+2y''+y=0.
> de:=diff(y(x),x$4)+2*diff(y(x),x$2)+y(x)=0;
> dsolve(de, y(x), output=basis);
Koshi masalasi yoki chegaraviy masalani yechish. dsolve buyrug’i Koshi masalasi yoki chegaraviy masalani yechadi, agar differensial tenglama bilan birga noma’lum funksiya uchun boshlang’ich yoki chegaraviy shartlar qo’yilgan bo’lsa. Boshlang’ich yoki chegaraviy shartlarda hosilani belgilash uchun differensial operator ishlatiladi, masalan, y''(0)=2 shartni quyidagicha yozish kerak bo’ladi : , yoki y'(1)=0 shart quyidagicha yoziladi: . Eslatib qtamizki, n- tartibli hosila ko’rinishda yoziladi.
Misollar 1. Koshi masalasi yechimini toping: y(4)+y''=2cosx, y(0)=- 2, y'(0)=1, y''(0)=0, y'''(0)=0.
> de:=diff(y(x),x$4)+diff(y(x),x$2)=2*cos(x);