Uses GraphABC; procedure Draw(x, y, l, u : Real; t : Integer);
procedure Draw2(Var x, y: Real; l, u : Real; t : Integer); begin Draw(x, y, l, u, t); x := x + l*cos(u); y := y - l*sin(u);end; begin if t > 0 then beginl := l/3;Draw2(x, y, l, u, t-1);Draw2(x, y, l, u+pi/3, t-1); Draw2(x, y, l, u-pi/3, t-1);Draw2(x, y, l, u, t-1);end else Line(Round(x), Round(y), Round(x+cos(u)*l), Round(y-sin(u)*l))end; begin SetWindowSize(425,500); SetWindowCaption('Фракталы: Снежинка Коха'); Draw(10, 354, 400, pi/3, 4);Draw(410, 354, 400, pi, 4); Draw(210, 8, 400, -pi/3, 4);end.
1)20m+40m=240
60m=240
m=240: 60
m=4
ответ: m=4
2)800k: 200=800
800k=800*200
800k=160000
k=160000: 800
k=200
ответ: k=200
3)(8x+2x)*8: 2=160
10х*8: 2=160
10х*8=160*2
10х*8=320
10х=320: 8
10х=40
х=40: 10
х=4
ответ: х=4
4)10+30t=20t+100
не знаю