>
>
>
>
>
1.2. Kramer qoidasi yordamida echish.
Berilgan tenglamalar sistema nomahlumlarning koeffitsientlari va ozod hadalari
yordamida determinantlarni tuzamiz va ularni hisoblashning uchburchak yoki Sarrus
usullaridan foydalanamiz. Biz (1) tenglamlar sistemasining determinantlarini tuzib,
uchburchak usulida hisolab uni son qiymatlarni topamiz.
+7*12*5-5*14*13-12*2*25-3*17*16=-3
Maple7 dasturida masalani echish.
>
>
>
Kramer koidasiga asosnan sistema echimini topmamiz:
x:=d1/d;y:=d2/d;z:=d3/d; x := K4 y := 3 z := K1
2. Berilgan topshiriqning bajarilish qismi
Mapleda tenglamalar sistemasi va tenglamalarni yechish.
Berilgan chiziqli tenglamlar sistemasini:
1) Gauss usulida eching.;
2) Kramer usulida eching.;
3) Matritsa tenglamasini teskari matritsa topish usulida eching.
1 -Topshiriq
Oddiy usulida yechish:
> sys:=({2*x1-6*x2+2*x3+2*x4=12,x1+3*x2+5*x3+7*x4=12,3*x1+5*x2+7*x3+x4=0,5*x1+7*x2+x3+3*x4=4}):
> solve(sys,{x1,x2,x3,x4});
Gauss usulida yechish:
> with(LinearAlgebra): A:=<<2,1,3,5>|<-6,3,5,7>|<2,5,7,1>|<2,7,1,3>>;
> b:=<12,12,0,4>;
> GaussianElimination(A,'method'='FractionFree');
> ReducedRowEchelonForm();
2 -Topshiriq
Dostları ilə paylaş: |