<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT face="Times New Roman" color=#000000 size=3>Ïî-ìîåìó ñ÷èòàåòñÿ íå òî, ÷òî íàäî. Ïî êðàéíå¸ ìåðå ÿ òàê äóìàþ. À âû êàê äóìàåòå? </P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT face="Times New Roman" color=#000000 size=3> </P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT face="Times New Roman" color=#000000 size=3>Ñîñòàâèòü ïðîöåäóðó è ôóíêöèþ äëÿ âû÷èñëåíèÿ:</P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com

ffice

ffice" /><o

><FONT face="Times New Roman" color=#000000 size=3> </o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US Y</SPAN><SPAN lang=EN-US> </SPAN>= 1+<SPAN style="POSITION: relative; TOP: 12pt; mso-text-raise: -12.0pt <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o

referrelative="t" o:spt="75" coordsize="21600,21600 <FONT size=3><FONT color=#000000><FONT face="Times New Roman <v:stroke joinstyle="miter </v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0 </v:f><v:f eqn="sum @0 1 0 </v:f><v:f eqn="sum 0 0 @1 </v:f><v:f eqn="prod @2 1 2 </v:f><v:f eqn="prod @3 21600 pixelWidth </v:f><v:f eqn="prod @3 21600 pixelHeight </v:f><v:f eqn="sum @0 0 1 </v:f><v:f eqn="prod @6 1 2 </v:f><v:f eqn="prod @7 21600 pixelWidth </v:f><v:f eqn="sum @8 21600 0 </v:f><v:f eqn="prod @7 21600 pixelHeight </v:f><v:f eqn="sum @10 21600 0 </v:f></v:formulas><v

ath o:connecttype="rect" gradientshapeok="t" o:extrusionok="f </v

ath><o:lock aspectratio="t" v:ext="edit </o:lock></v:shapetype><v:shape id=_x0000_i1025 style="WIDTH: 15.75pt; HEIGHT: 30.75pt" o

le="" type="#_x0000_t75 <v:imagedata o:title="" src="file:///C

OCUME~1JannetLOCALS~1Tempmsohtml1\01clip_image00 1.wmz </v:imagedata></v:shape></SPAN><FONT face="Times New Roman" color=#000000 size=3>+<SPAN style="POSITION: relative; TOP: 12pt; mso-text-raise: -12.0pt <v:shape id=_x0000_i1026 style="WIDTH: 24.75pt; HEIGHT: 33pt" o

le="" type="#_x0000_t75 <FONT size=3><FONT color=#000000><FONT face="Times New Roman <v:imagedata o:title="" src="file:///C

OCUME~1JannetLOCALS~1Tempmsohtml1\01clip_image00 3.wmz </v:imagedata></v:shape></SPAN><FONT face="Times New Roman" color=#000000 size=3>+<SPAN style="POSITION: relative; TOP: 12pt; mso-text-raise: -12.0pt <v:shape id=_x0000_i1027 style="WIDTH: 188.25pt; HEIGHT: 33pt" o

le="" type="#_x0000_t75 <FONT size=3><FONT color=#000000><FONT face="Times New Roman <v:imagedata o:title="" src="file:///C

OCUME~1JannetLOCALS~1Tempmsohtml1\01clip_image00 5.wmz </v:imagedata></v:shape></SPAN><FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>…</P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <o

><FONT face="Times New Roman" color=#000000 size=3> </o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT face="Times New Roman" color=#000000 size=3>ïðèíèìàÿ, ÷òî àðãóìåíò Õ ïî ìîäóëþ ìåíüøå åäèíèöû. Âû÷èñëåíèÿ ïðîâîäèòü äî òåõ ïîð, ïîêà ìîäóëü ðàçíîñòè ìåæäó î÷åðåäíûì ñëàãàåìûì è åãî ïðåäûäóùèì çíà÷åíèåì áîëüøå ìàëîé çàäàííîé âåëè÷èíû, ðàññìàòðèâàåìîé â êà÷åñòâå òî÷íîñòè âû÷èñëåíèé.</P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes & N style="mso-spacerun: yes </SPAN>Dim pred#, posl#<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Dim ch%, sum_sk_ch%, sk_ch%<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Dim zn%, sum_sk_zn%, sk_zn%<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Dim z%, kf!<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>ch = 1<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>zn = 2: sum_sk_zn = 31: sk_zn = 4<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>z = 1: sum = 1 + x / 2<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>pred = 1: posl = x / 2<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Do While Abs(Abs(pred) - Abs(posl)) > eps<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>sk_zn = sum_sk_zn - sk_zn: zn = zn + sk_zn<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>kf = ch / zn<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>pred = posl<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>posl = pred * z * kf * x<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#0 AN>sk_zn = sum_sk_zn - sk_zn: zn = zn + sk_zn<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>kf = ch / zn<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>pred = posl<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>posl = pred * z * kf * x<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>sum = sum + posl<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><st1

lace w:st="on Loop</st1

lace><o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>f = sum<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman End Function<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman Private Sub Command1_Click()<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Dim x As Single, y As Double<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Dim xn As Single, dx As Single, xk As Single<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Dim eps As Double, b As Boolean, s As String<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Dim g As Double, i As Byte, j As Byte<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN lang=EN-US style="mso-ansi-language: EN-US <SPAN style="mso-spacerun: yes </SPAN></SPAN>xn = Val(InputBo o-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>b = True<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN lang=EN-US style="mso-ansi-language: EN-US <SPAN style="mso-spacerun: yes </SPAN></SPAN>Else<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>b = False<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>End If<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>'Âû÷èñëåíèå çíà÷åíèÿ ñóììû ðÿäà äëÿ çàäàííîãî èíòåðâàëà çíà÷åíèé x.<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US List1.Clear<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>x = xn<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Do While x < xk + 0.5 * dx<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>If b Then<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>Call p(x, eps, y)<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN lang=EN-US style="mso-ansi-language: EN-US <SPAN style="mso-spacerun: yes </SPAN></SPAN>Else<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><SPAN style="mso-spacerun: yes </SPAN>y = f(x, eps)<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes &nbs -spacerun: yes </SPAN>" & Format(x, "0.00") & Space(16) & Format(y, s)<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN lang=EN-US style="mso-ansi-language: EN-US <SPAN style="mso-spacerun: yes </SPAN></SPAN>' Ïåðåõîä ê ñëåäóþùåìó çíà÷åíèþ x èç çàäàííîãî äèàïàçîíà<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>x = x + dx<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN><st1

lace w:st="on Loop</st1

lace><o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN style="mso-spacerun: yes </SPAN>End Sub<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <SPAN lang=EN-US style="mso-ansi-language: EN-US <FONT size=3><FONT color=#000000><FONT face="Times New Roman Private Sub Command3_Click()<o

></o

></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman <SPAN lang=EN-US style="mso-ansi-language: EN-US <SPAN style="mso-spacerun: yes </SPAN></SPAN>End<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <FONT size=3><FONT color=#000000><FONT face="Times New Roman End Sub<o

></o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <o

><FONT face="Times New Roman" color=#000000 size=3> </o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <o

><FONT face="Times New Roman" color=#000000 size=3>Ïîìîãèòå, åñëè ñìîæåòå!</o

></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt <o

><FONT face="Times New Roman" color=#000000 size=3> </o

>