Trigonometrik tenglamalarni yechish. Trigonometrik tenlamani yechish uchun qo’llanilgan solve buyrug’i faqat bosh yechimlarni, ya’ni [0, 2] intervaldagi yechimlarni beradi. Barcha yechimlarni olish uchun oldindan EnvAllSolutions:=true qo’shimcha buyruqlarni kiritish kerak bo’ladi . Masalan: > _EnvAllSolutions:=true: > solve(sin(x)=cos(x),x);
Maple muhitida _Z~ belgi butun turdagi o’zgarmasni anglatadi,
shuning uchun ushbu tenglama yechimining odatdagi ko’rinishi x:=π/4+πn
bo’ladi, bu yerda n – butun son.
Transsendent tenglamalarni yechish.Transsendent tenglamalarni yechish-da yechimni oshkor ko’rinishda olish uchun solve buyrug’idan oldin qo’shimcha _EnvExplicit:=true buyrug’ini kiritish kerak bo’ladi.
Murakkab transsendent tenglamalar sistemasini yechish va uni soddalashtirishga misol qaraymiz:
> t:={ 7*3^x-3*2^(z+y-x+2)=15, 2*3^(x+1)+3*2^(z+y-x)=66, ln(x+y+z) -3*ln(x)-ln(y*z)=-ln(4) }: > _EnvExplicit:=true: > s:=solve(t,{x,y,z}): > simplify(s[1]);simplify(s[2]); {x =2, y =3, z =1}, {x =2, y =1, z =3}
Yuqorida keltirilgan fikrlar asosida quyidagi misollarni qaraymiz.
1.Tenglamalar sistemasining barcha yechimlarini toping
Buyruqlar satrida tering:
> t:={x^2-y^2=1,x^2+x*y=2}; > _EnvExplicit:=true: > s:=solve(eq,{x,y});