:
  |    

 /

 →  
1 2 

CLS

XC = 10: X0 = 1.3: H = 4.1: N = 10

DIM Y(9): DIM X(9)

DATA -6.56,-3.77,-1.84,0.1,2.29,4.31,5.86,8.82,11.33,11.27

FOR I = 0 TO N - 1

X = X0 + H * I:

X(I) = X

READ Y(I)

PRINT X(I), Y(I)

NEXT I

S1 = 0: S2 = 0: S3 = 0: S4 = 0

I = 0

10 S1 = S1 + X(I) ^ 2:

S2 = S2 + X(I):

S3 = S3 + X(I) * Y(I):

S4 = S4 + Y(I)

I = I + 1

IF I


 →  
1 2 



Copyright © 2005—2007 «Mark5»