Курсовая работа: Теорема Бернулли Закон распределения Пуассона Критерий Колмогорова
Top = 68; Left = 45; Width = 550; Height = 340; Ny = 14;
Type Real = Extended;
Var GrDriver, GrMode, X1, Y1, X2, Y2 : Integer;
i, j, w : Word; SumS, SumA, Ran, Dk, Kol : Real;
Xmin, Xmax, Ry, Mx, Dx, Rx, Sx, Ex, Sk, h : Real;
HZoom, VZoom, Lx, Ly : Real; Txt : String[20];
S, AL, AY, Y : Array[0..d] Of Real;
X : Array[1..n] Of Byte;
Procedure Bue; Far;
Begin
AssignCrt(Output); Rewrite(Output); CloseGraph;
Window(1, 1, 80, 25); ClrScr;
WriteLn ('Programed by Yuri Melnikov RD-2');
WriteLn ('All rights reserved. (c) 2004.');
WriteLn ('Thanks for attention.');
End;
Procedure Pause;
Var TextAtt, i : Byte;
Begin
Delay(1000); While KeyPressed Do ReadKey;
TextAtt := TextAttr; TextColor(7);
GoToXY(1, 25); For i := 1 To 5 Do WriteLn;
Write(' Press any key to continue or <ESC> to exit...');
Repeat Until KeyPressed; If ReadKey = #27 Then Halt;
TextAttr := TextAtt; GoToXY(1, 1); ClearDevice;
End;
Function Pwr(x, p: Real) : Real; {Возведениевстепень}
Begin
If x > 0 Then Pwr := exp(p*ln(x))