.


:




:

































 

 

 

 


.




, , , , . , . , . , .

. . , . . , , , , .

- -, : - , - . , .

( )

, , . :

var x: array[1..3] of array[1..5] of integer;

var x: array[1..3,1..5] of integer;

type t1 = array[1..5] of integer;

t2 = array[1..3] of t1;

var x: t2;

const m=3; n=5;

type matr = array[1..m,1..n] of integer;

var x: matr;

2- . .

, i- j- , [i] [j] A[i,j]. .

.

, .

 

.

 

1. :

1. :

:

- TLabel . Caption, .

- TButton , . OnClick, . Caption.

- TListBox .

2.:

xi={3,5;7,2;4,5;2,1;7,6;9,3}. .

max yi k.

3.:

4.:

5.:

 

2.

1. :

:

TLabel . Caption, .

TButton , . OnClick, . Caption.

TListBox .

.

={A1,A2,,A6}. , [x,y]. . . : ={-4.1,-1,1.2,3,5,0.75}. X=-2.5, Y=1.2.

3.:

.

5.:

3. ( ):

1. :

:

- TLabel . Caption, .

- TButton , . OnClick, . Caption.

- TStringGrid . Cells (), . RowCount ColCount. IntToStr. :

o ColCount ( 6)

o RowCount ( 5)

o FixedCols = 0 -

o FixedRows = 0

- StringGrid1 . Options go Editing true.

- StringGrid2 .

- TGroupBox , . Caption.

2.:

, A(5,6). A, , . .

3.:

4.:

5.:

1. X(15), , .

2. A(13), B(13). : 1=1+13, 2=2+12,..., 13=13+1. , .

3. A(15). , , .

4. (25) . .

5. Y(30). , .

6. , a1,..., a20 :

) a1a11+a2a12+...+a10a20,

) a1a20+a2a19+...+a10a11.

7. A(12) B(12) : 1=1, 2=1, 3=2, 4=2, 5=3, 6=3,..., 23=12, 24=12. , .

1. A(7,8).

2. (5,6).

3. (7,7) .

4. (8,6).

5. (8,5), .

6. (6,10) .

7. (7,8) .





:


: 2016-11-23; !; : 1835 |


:

:

. .
==> ...

1479 - | 1438 -


© 2015-2024 lektsii.org - -

: 0.019 .