.


:




:

































 

 

 

 





3.1.

1 . ,

2. ,

1.

: Boolean.  
: Double  
: shortstring  
: WideString  
: Currency  
: Single  
: Word  
: Longint  
: Shortint  
: Extended  

2.

  2/3
-0 -1
7,0 80
7. 2*5
+0.3
.3 2/4
false Delphi
true  

 

 

3.2.

1 -2. . .

1.

X4  
Log2x/5  
|a+bx|  
E|x-y|  

2.

(-d+sqrt(sqr(d)-4*a*b))/(2*a)  
Arctan(y2-a)/2*abs(x4-ln(5)*y5)/exp(-1)  

3.

Succ(-2)=

Trunc(-3/14)=

3*7div 2 mod 7/3=

4.

A and b or not c and d

5.

X [2,5] [-1,1]

6. ?

FloatToStrF(n, f, k,m)  
FloatToStr (n)  
StrToInt (s)  
StrToFloat (s)  
Round (n)  
Trunc (n)  
Frac(n)  
Int (n)  
Chr(n)  
IntToStr (k)  
(n)  
Ln(n)  
Rardom(n)  
bs (n)  

3.

ObjectPascal . . ObjectPascal.

 

ObjectPascal
    Ln(x)/Ln(a)
Exp(a*Ln(x))
    Sin(x)/Cos(x)
    Cos(x)/Sin(x)
    ArcTan(Sqrt(x/(1-sqr(x))))
    Pi/2- ArcTan(Sqrt(x/(1-sqr(x))))
    Pi/2-ArcTan(x)
    (Exp(x)-Exp(-x))/2
    (Exp(x)+Exp(-x))/2
    1/Sin(x)
    1/Cos(x)

3.3.

1.

1.

If 1<x<2 then x:=x+1;y:=0;

Else x:=0;y:=y+1;

If 1<x and x<2 then begin x:=x+1; y:=0 end;

Else begin x:=0; y:=y+1 end;

2 ?

Begin a:=true;; b:=b or a end;

Beginif x=0 then goto 1; y:=x; 1: end

3. , (. )

4. .

, , . , 2.1, , . , . . . 2.4.

( , ) , . . 2.3 , . 2.4 .

. 2.4.

, . , , . , , (, ).

       

. onclick, TForm1.Button1Click.





:


: 2016-12-06; !; : 476 |


:

:

: , .
==> ...

2205 - | 1826 -


© 2015-2024 lektsii.org - -

: 0.009 .