Hisoblash usullari fanidan laboratoriya ishlari


A= EMBED Equation.3 , B= EMBED Equation.3 , EMBED Equation.3 EMBED Equation.3



Download 3,72 Mb.
bet14/24
Sana13.07.2022
Hajmi3,72 Mb.
#790760
1   ...   10   11   12   13   14   15   16   17   ...   24
Bog'liq
6.Hisoblash usullari fanidan LABORATORIYA ISHLARI

25. A= EMBED Equation.3 , B= EMBED Equation.3 , EMBED Equation.3 EMBED Equation.3


LABORATORIYA ISHI № 11


Zeydel usuli.
Zeydel usuli oddiy iteratsiya usulining bir ko’rinishidir. Bu usul asosiy g’oyasi shundan iboratki, EMBED Equation.3 - yaqinlashishda EMBED Equation.3 qiymatini hisoblashda EMBED Equation.3 oldin ma’lum bo’lgan EMBED Equation.3 yaqinlashishdagi qiymatlari qo’llaniladi.
Tenglamalar sistemasi normal ko’rinishga keltirilgan bo’lsin, ya’ni
EMBED Equation.3
Boshlang’ich yaqinlashishda EMBED Equation.3 larni olamiz. EMBED Equation.3 - yaqinlashish ma’lum bo’lsa, EMBED Equation.3 yaqinlashish quyidagi formulalar yordamida hisoblanadi.
EMBED Equation.3
Iteratsiya jarayoni EMBED Equation.3 shart bajarilguncha davom qildiriladi.
Sistema Zeydel usuli bilan yechilganda oddiy iteratsiya usulidagiga nisbatan tezroq natijaga erishiladi.


Tenglamalar sistemasi Zeydel usulida yechish
dasturi va blok sxemasi
10 REM "Zeydel usuli"
20 INPUT n, e
30 DIM c(n, n), d(n), x1(n), x2(n)
40 FOR i = 1 TO n: INPUT d(i): NEXT i
50 FOR i = 1 TO n: FOR j = 1 TO n
60 INPUT c(i, j): NEXT j, i
70 FOR i = 1 TO n: x2(i) = d(i): NEXT i: k = 0
80 k = k + 1: FOR i = 1 TO n
90 x1(i) = x2(i): NEXT i: FOR i = 1 TO n: s1 = 0: s2 = 0
100 FOR j = 1 TO n
110 IF j < i THEN 130
120 s1 = s1 + c(i, j) * x1(j): GOTO 140
130 s2 = s2 + c(i, j) * x2(j)
140 NEXT j
150 x2(i) = d(i) + s1 + s2: NEXT i
160 max = ABS(x1(1) - x2(1)): FOR i = 2 TO n: h = ABS(x1(i) - x2(i))
170 IF max >= h THEN 190
180 max = h
190 NEXT i
200 IF max > e THEN 80
210 FOR i = 1 TO n
220 PRINT k; "x("; i; ")="; x2(i)
230 NEXT i
240 END

1. EMBED Equation.3 7. EMBED Equation.3


2. EMBED Equation.3 8. EMBED Equation.3
3. EMBED Equation.3 9. EMBED Equation.3
4. EMBED Equation.3 10. EMBED Equation.3
5. EMBED Equation.3 11. EMBED Equation.3
6. EMBED Equation.3 12. EMBED Equation.3
13. EMBED Equation.3 17. EMBED Equation.3
14. EMBED Equation.3 18. EMBED Equation.3
15. EMBED Equation.3 19. EMBED Equation.3
16. EMBED Equation.3 20. EMBED Equation.3



Download 3,72 Mb.

Do'stlaringiz bilan baham:
1   ...   10   11   12   13   14   15   16   17   ...   24




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

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish