.


:




:

































 

 

 

 





 

( ).

 

Function Concat(S1 [, S2,..., SN]: String)-. String; , - S1. S2,..., SN
Function Copy(St: String; Index, Count: Integer): String; St Count , Index
Procedure Delete(St: String; Index, Count; Integers; Count St Index
Procedure lnsert(SubSt: String; St, Index: Integer); SubSt St Index
Function Length(St: String): Integer; St
Function Pos(SubSt, St: String): Integer; St SubSt , . ,
Procedure SetLength(St: String; NewLength: Integer); () NewLength St, NewLength , SetLength
np
Function StrToCurr(St: String): Currency; St Currency. .
Function StrToDate(St: String): TDateTime; St . , Windows ; ( , .) -, - , ,
Function StrToDateTime(St: String): TDateTime; St . ,
Function StrToFloat(St: String): Extended; St .
Function StrToInt(St: String): Integer; St .

 


I-unction StrtoIntDef(St: String; Default: Integer): Integer; St . , Default
I-unction StrtoIntRange(St: String: Min, Max: Longint): Longint; St ERangeError, in
Function StrToTime(St: String): TDateTime; St
Procedure Val(St: String; var X; Code: Integer); St X, . Code , , ; St, , . St ()
Function DateToStr(Value: TDateTime): String: Value
Function DateTimeToStr(Value: TDateTime): String; Value
Procedure DateTimeToString (var St: String: Format: String; Value: TDataTime); Value St
Function FormatDateTime (Format: String; Value: TDateTime): String; Value
Function FloatToStr(Value: Extended): String: Value
Function FloatToStrF(Value: Extended; Format: TFIoatFor-mat; Precision, Digits: Integer): String; Value Precision Digits (. )
Function FormatFloat(Format: String: Value: Extended): String; Value
Function lntToStr(Value: Integer): String; Value
Function TimeToStr(Value: TDateTime): String; Value
Procedure Str(X [.-width [: Decimals]]; var St: String); X St; Width Decimals, , : Width , X, a Decimals - ( , )


FloatToStrF :

 

Format
fFfExponent ( 10 XX). Precision . Digits - XX. : 3.1416+00
ffFixed . Precision . Digits - . : 3,14
ffGeneral , . ffFixed, Precision, - 0,00001, ffExponent: 3,1416
ffNumber ffFixed - ( Windows ). Value = 7t* 1000 3 141,60
ffCurrency . ffNumber, ( Windows - .). Value = *1000 : 3141,60

 


5

 

Object Pascal ^ . . ; Object Pascal.

 

Object Pascal
Loga(x) Ln(x) Ln(a) Ln(x)/Ln(a)
xa ea*Ln(x) Exp(a*Ln(x))
Tg(x) Sin(x) Cos(x) Sin(x)/Cos(x)
Ctg(x) Cos(x) Sin(x) Cos(x)/Sin(x)
ArcSin(x) __________ ArcTg(√(x/(1-sqr(x)))) ArcTan(Sqrt(x/(1-sqr(x))))
ArcCos(x) π/2-arcsin(x) Pi/2-ArcTan(Sqrt(x/(1-sqr(x))))
ArcCtg(x) π/2-arcTg(x) Pi/2-ArcTan(x)
Sh(x) ex- e-x 2 (Exp(x)-Exp(-x))/2
Ch(x) ex +e-x 2 (Exp(x)+Exp(-x))/2
Csc(x) 1/Sin(x) 1/Sin(x)
Sc(x) 1/cos(x) 1/Cos(x)

 


6

 

MATH.

Math, . Pentium, .

, Math. Math Uses.

 

Function ArcCos(X: Extended): Extended; Extended, Extended.
Function ArcSin(X: Extended): Extended; Extended, Extended.
Function ArcTan2(X: Extended): Extended; X Y Extended, Y/X Extended.
Function Cotan(X: Extended): Extended; Extended, Extended.
Function ArcHypot(X: Extended): Extended; X Y Extended, (X2 + Y2) Extended.
Procedure SinCos(Theta: Extended; var Sin, Cos:Extended); Theta Extended, Sin Cos Theta.
Function Tan(X: Extended): Extended; Extended, Extended.
Function CycleToRad(Cycles: Extended): Extended; Cycles Radians:=Cycles*2PI.
Function DegToRad(Degrees: Extended): Extended; Cycles Radians:=Degrees*PI/180.
Function GradToRad(Grads: Extended): Extended; Cycles Radians:=Grads*PI/200.
Function RadToDeg(Radians: Extended): Extended; Cycles Degrees:=Radians*180/PI.
Function RadToGrad(Radians: Extended): Extended; Cycles Grads:=Radians*200/PI.
Function RadToCycle(Radians: Extended): Extended; Cycles Cycles:=Radians/2PI.
Function Arcosh(X: Extended): Extended; Extended, Extended.
Function ArcSinh(X: Extended): Extended; Extended, Extended.
Function Arcosh(X: Extended): Extended; Extended, Extended.
Function Cosh(X: Extended): Extended; Extended, Extended.
Function Sinh(X: Extended): Extended; Extended, Extended.
Function Tanh(X: Extended): Extended; Extended, Extended.
Function LnXP1(X: Extended): Extended; X Extended, (X+1) Extended. , X .
Function Log10(X: Extended): Extended; X Extended, X Extended.
Function Log2(X: Extended): Extended; X Extended, X Extended.
Function LogN(Base, X: Extended): Extended; X Base Extended, Base X Extended.
Function IntPower(Base: Extended; Exponent: Integer): Extended; Base Extended Exponent Integer, Base Exponent Extended.
Function Power(Base, Exponent: Extended): Extended; Base Extended Exponent Integer, Base Exponent Extended.
Function Ceil(X: Extended): Integer; X .
Function Floor(X: Extended): Integer; X X .
Procedure Frexp(X: Extended; var Mantissa: Extended; var Exponent: Integer); Extended .
Function Ldexp(X: Extended; P: Integer): Extended; : X Extended P Integer . X*P2 Extended.
Function Poly(X: Extended; const Coefficients: array of Double): Extended; X Extended Double, A*XN+B*XN-1++Z. .
Function Max(A, B: Integer): Integer; overload; . overload , .
Function Max(A, B: Int64): Int64; overload;
Function Max(A, B: Single): Single; overload;
Function Max(A, B: Double):Double; overload;
Function Max(A, B: Extended): Extended; overload;
Function MaxIntValue(const Data: array of Integer): Integer; .
Function MaxValue(const Data: array of Double): Double; Double .
Function Mean(const Data: array of Double): Extended; Double .
Function MeanAndStdDev(const Data: array of Double; var Mean, StdDev: Extended); Double .
Function Min(A, B: Integer): Integer; overload; . overload , .
Function Min(A, B: Integer): Integer; overload;
Function Min(A, B: Integer): Integer; overload;
Function Min(A, B: Integer): Integer; overload;
Function Min(A, B: Integer): Integer; overload;
Function MinIntValue(const Data: array of Integer): Integer; .
Function MinValue(const Data: array of Double): Double; Double .
Procedure MomentSkewKurtosis(const Data: array of Double; var M1, M2, M3, M4, Skew, Kurtosis: Extended); Double , Skew Kurtosis .
Function Norm(const Data: array of Double): Extended; Double .
Function PopnStdDev(const Data: array of Double): Extended; Double Extended.
Function PopnVariance(const Data: array of Double): Extended; Double Extended.
Function RandG(Mean, StdDev: Extended): Extended; Mean StdDev.
Function StdDev(const Data: array of Double): Extended; Double .
Function Sum(const Data: array of Double): Extended register; Double .
Procedure SumAndSquares(const Data: array of Double; .
Function SumInt(const Data: array of Integer): Extended register; .
Function SumOfSquares(const Data: array of Double): Extended; .
Function TotalVariance(const Data: array of Double): Extended; .
Function Variance(const Data: array of Double): Extended; , TotalVariance/(N-1).
Type TpaymentTime = (ptEndOfPeriod, ptStartOfPeriod); .
Function DoubleDecliningBalance (Cost, Salvage: Extended; Life, Period: Integer): Extended; .
Function FutureValue(Rate: Extended; NPeriods: Integer; Payment, PresentValue: Extended; PaymentTime: TPaymentTime): Extended; , , .
Function InterestPayment(Rate: Extended; Period, NPeriods: Integer; PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended; , , .
Function InterestRate(NPeriods: Integer; Payment, PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended; , , , .
Function InternalRateOfReturn(Guess: Extended; const CashFlows: array of Double): Extended; .
Function NetPresentValue(Rate: Extended; const CashFlows: array of Double; PaymentTime: TPaymentTime): Extended; , , .
Function NumberOfPeriods(Rate, Payment, PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended; , , .
Function Payment(Rate: Extended; NPeriods: Integer; PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended; , , , .
Function PeriodPayment(Rate: Extended; Period, NPeriods: Integer; PresentValue, FutureValue: Extended; PaymentTime: TPaymentTime): Extended; , , .
Function PresentValue(Rate: Extended; NPeriods: Integer; Payment, FutureValue: Extended; PaymentTime: TPaymentTime): Extended; , , .
Function SLNDepreciation(Cost, Salvage: Extended; Life: Integer): Extended; .
Function SYDDepreciation(Cost, Salvage: Extended; Life, Period: Integer): Extended; .

 





:


: 2016-07-29; !; : 347 |


:

:

, .
==> ...

1864 - | 1680 -


© 2015-2024 lektsii.org - -

: 0.019 .