Hisoblash usullari fanidan laboratoriya ishlari


Tenglamalar sistemasi iteratsiya usulida yechish



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

Tenglamalar sistemasi iteratsiya usulida yechish
algoritmi va blok sxemasi

10 REM «Tenglamalar sistemasi iteratsiya usuli»


20 INPUT n, e
30 DIM c(n, n), d(n), x(n), y(n)
40 FOR i = 1 TO n: INPUT "d(i)="; d(i): NEXT i
50 FOR i = 1 TO n
60 FOR j = 1 TO n
70 INPUT "c(i, j)="; c(i, j)
80 NEXT j
90 NEXT i
100 FOR i = 1 TO n
110 x(i) = d(i)
120 NEXT i: m = 0
130 m = m + 1: FOR i = 1 TO n: s = d(i)
140 FOR k = 1 TO n
150 s = s + c(i, k) * x(k): NEXT k
160 y(i) = s: NEXT i: FOR i = 1 TO n
170 x(i) = ABS(y(i) - x(i)): NEXT i: s = x(1)
180 FOR i = 2 TO n: IF s > x(i) THEN 200
190 s = x(i)
200 NEXT i
220 IF s <= e THEN 240
230 FOR i = 1 TO n: x(i) = y(i): NEXT i: GOTO 130
240 PRINT "natija:"
250 FOR i = 1 TO n
260 PRINT "y("; i; ")="; y(i)
265 NEXT i
266 PRINT "m="; m
270 END


Laboratoriya topshiriqlari

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

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

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

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

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

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

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

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


Download 3,72 Mb.

Do'stlaringiz bilan baham:
1   ...   8   9   10   11   12   13   14   15   ...   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