Termiz davlat universiteti fizika matematika fakulteti


Berilgan matritsaga teskari matritsa topish dasturini tuzamiz


Download 0.57 Mb.
bet10/14
Sana02.01.2022
Hajmi0.57 Mb.
#199473
1   ...   6   7   8   9   10   11   12   13   14
Bog'liq
Kurs ishi. Oqboyev Ramazon.

Berilgan matritsaga teskari matritsa topish dasturini tuzamiz.

Berilgan matritsaga teskari matritsa topish
REM SAVE “t-m3tra.bas”,a
DIM A(3,3),C(3,3)
FOR I=1 TO 3 :FOR J=1 TO 3
READ A(I,J) : NEXT J : NEXT I
REM Algebraik to’ldiruvchilarini hisoblash
M (1,1)=A(2,2)*A(3,3)-A(2,3)*A(3,2)
M (1,2)=A(3,1)*A(2,3)-A(2,1)*A(3,3)
M (1,3)=A(2,1)*A(3,2)-A(3,1)*A(2,2)
M (2,1)=A(1,3)*A(3,2)-A(1,2)*A(3,3)
M (2,2)=A(1,1)*A(3,3)-A(3,1)*A(1,3)
M (2,3)=A(3,1)*A(1,2)-A(1,1)*A(3,2)
M (3,1)=A(1,2)*A(2,3)-A(2,2)*A(1,3)
M (3,2)=A(2,1)*A(1,3)-A(1,1)*A(2,3)
M (3,3)=A(1,1)*A(2,2)-A(2,1)*A(1,2)

Download 0.57 Mb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   14




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling