̲Ͳ ²
ֲ Ͳ "² ˲Ͳ"



ᒺ.
, .3


" "
6.0925
" '- 㳿"






_ _____



2008
: ᒺ.
: .

for. :
for([<_1>]; [<_2>]; [<_3>])
<>;: _1 , ( ), _2 , , _3 . , - .
:
1) _1, ;
2) _2, , ;
3) , _3. , . , , _2, _2 .
:
int i, s=0;
for(i=1; i<10; i++) //i=i+1 i+=1
s=s+i;
printf(\n i=%d, i);
, i 1. i<10. i 1, , s=s+i;. , i++. ϳ . i 2, 10, . , 10, . , for, printf.
. for - .
for , . , (;).
EMBED Visio.Drawing.6
. - for

EMBED Equation.3
0=0; 1=5,39?10-3; 2=1,25?10-5; 3=-2,24?10-8; 4=2,84?10-11; 5=-2,24?10-14; 6=8,50?10-18; B0=-2,98?10-1; B1=8,23?10-3; B2=1,64?10-6.
t?[-50;1064,43]; (S)
2) EMBED Equation.3
0=-2,98?10-1; 1=8,23?10-3; 2=1,64?10-6;
B0=1,39?101; B1=3,64; B2=-5,03?10-3; B3=-4,24?10-2;
t?[630,74; 1665]; (S)
3) EMBED Equation.3
0=1,39?101; 1=3,64; 2=-5,03?10-3; 3=-4,24?10-2;
B0=1,81?10-1; B1=5,68?10-1; B2=-1,21?10-2; B3=-2,81?10-3.
t?[1064,43;1767,6]; (S)
0=1,55?101; 1=4,24; 2=1,47?10-2; 3=-5,22?10-2;
B0=2,04?10-1; B1=6,69?10-1; B2=-1,23?10-2; B3=-2,79?10-3.
t?[1064,43;1767,6]; (R)
4) EMBED Equation.3
0=-2,64?10-1; 1=8,05?10-3; 2=2,99?10-6; 3=-2,69?10-10
B0=1,55?101; B1=4,24; B2=1,47?10-2; B3=-5,22?10-2;
t?[630,74; 1665]; (R)
5) EMBED Equation.3
0=0; 1=5,28?10-3; 2=1,39?10-5; 3=-2,40?10-8; 4=3,62?10-11; 5=-4,46?10-14; 6=3,85?10-17; 7=-1,54?10-20; B0=-2,64?10-1; B1=8,05?10-3; B2=2,99?10-6; B3=-2,69?10-10.
t?[-50; 1064,43]; (R)
6) EMBED Equation.3
0=0; 1=3,95?10-2; 2=2,75?10-5; 3=-1,66?10-7; 4=-1,51?10-9; 5=-2,49?10-11; 6=-2,48?10-13; 7=-1,56?10-15; 8=-5,97?10-18; 9=-1,27?10-20; 10=-1,14?10-23;
B0=-1,85?10-2; B1=3,89?10-2; B2=1,66?10-5; B3=-7,87?10-8; B4=2,28?10-10; B5=-3,57?10-13; B6=2,99?10-16; B7=-1,28?10-19; B8=2,22?10-23;
t?[-270; 1372]; XA XA(K)
7) EMBED Equation.3
0=0; 1=5,04?10-2; 2=3,04?10-5; 3=-8,57?10-8; 4=1,33?10-10; 5=-1,70?10-13; 6=1,945?10-16; 7=-9,64?10-20; B0=2,97?102; B1=-1,51; B2=3,21?10-3; B3=-3,22?10-6; B4=1,59?10-9; B5=-3,12?10-13.
t?[-210;1200]; (J)
8) EMBED Equation.3
0=0; 1=6,32?10-2; 2=5,89?10-5; 3=-8,04?10-8; 4=1,20?10-10; 5=-2,46?10-14; 6=-4,83?10-16; 7=8,24?10-19; 8=-4,03?10-22.
B0=0; B1=5,87?10-2; B2=4,31?10-5; B3=5,72?10-8; B4=-5,40?10-10; B5=1,54?10-12; B6=-2,49?10-15; B7=2,34?10-18; B8=-1,19?10-21; B8=2,56?10-25.
t?[-270; 1372]; XK XK(L)

1. .., .. Ѳ. : « », 2005. 116 .
2. .. : . . .: , 2001. 240.
3. .., .. .. Ѳ. - .: , 1993. 224 .

- ' " " .
ѳ .
ϳ - '.
' .
.

.
.
.
- .
ѳ.
.
.


. ᒺ
. EMBED Equation.DSMT4 EMBED Equation.DSMT4 a, b - ?.

, 1012. , 2 . ? EMBED Equation.DSMT4 .
a, b ( ), , a=2; b=1.
3) - :
EMBED Visio.Drawing.6
4) ,
#include <stdio.h>
#include <conio.h>
#include <math.h>
main()
{clrscr();
float x,f,a=2.0,b=1.0;
for(x=-1; x<=4; x+=0.25)
{if(x<2) f=pow(a,-b*x)+0.5*x;
if(x>=2) f=fabs(sqrt(1+x)+exp(-0.25*x)-2);
printf("\n x=%4.2f f=%5.3f", x,f);
}
getchar();
}

. if(). - if() _1; else _2;. :
if(x<2) f=pow(a,-b*x)+0.5*x;
else f=fabs(sqrt(1+x)+exp(-0.25*x)-2);
5) .