Mavzu: Murakkab siklli jarayon algoritmi blok-sxеmasi Ishdan maqsad: s


Download 286.48 Kb.
bet2/3
Sana14.01.2023
Hajmi286.48 Kb.
#1092360
1   2   3
Bog'liq
4- amaliy materiali. Murakkab siklli jarayonlar

O’zlashtirish uchun topshiriqlar


Quyida bеrilgan misollarning yechish algoritmlari blok-sxеmalarini tuzing:


1. y = a4 x+lg (a2+b2c); bunda a = 1,7; b = 5;


0 ≤ s ≤ 7; hc = 0,5;
-2 ≤ x ≤ 5; hx = 0,2

2. bunda b = 2 ;


-3 ≤ x ≤ 4; hx = 0,3;
0 ≤ a ≤ 4; ha = 0,4


12 10
3. S =∑ ∑ (k2 c +3);
k=1 c=2



Boshlash

a =4; b = 2,5; hx = 1; hc = 0,2
y=0

x = 0, 8, 1

a1 = a2

Tamom

c = 0; 5; 0,2

a2 =

b1 = a*x+b

b2 = lg(b1)

b3 =

y = (a1+a2)/(b1+b2)

x, c, y larni
chiqarish



5.1-rasm


Boshlash

a = 4; b = 2,5; hx = 1; hc = 0,2

x = 0

c = 0

a1 = a2

a2 =

b1 = a*x+b

b2 = lg(b1)

b3 =

y = (a1+a2)/(b1+b2)

x, c, y ni chiqarish

c = c+hc

c > 5




Yo‘q Ha Ha



x = x+hx




x > 8
Ha Yo‘q



Tamom
5.2-rasm



Boshlash




b = 2; hx = 1; ha = 1; c = 5
y=0

a = 1, 10, 1

s = s+(a2+x2+b )

Tamom

x = 2, 8, 1

s ni chiqarish

s = 0





5.3-rasm


Boshlash

b = 2; c = 5; hx = 1; ha = 1

s = 0

a = 1

x = 2

x = x+hx

x > 8

s = s+(a2+x2+b )



Download 286.48 Kb.

Do'stlaringiz bilan baham:
1   2   3




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