Молниезащита зданий и сооружений. Часть2. Анфилофьев Б.А - 5 стр.

UptoLike

Модуль первый программы mol
Язык программирования Delphi 5
unit unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Edit1: TEdit;
Label7: TLabel;
Label8: TLabel;
Edit2: TEdit;
Label9: TLabel;
Label10: TLabel;
Label11: TLabel;
Edit3: TEdit;
Label12: TLabel;
Label13: TLabel;
Label14: TLabel;
Edit4: TEdit;
Label15: TLabel;
Image1: TImage;
Button1: TButton;
Button2: TButton;
Button3: TButton;
Label16: TLabel;
Label17: TLabel;
Label18: TLabel;
Label19: TLabel;
Label20: TLabel;
Label21: TLabel;
Edit5: TEdit;
Label22: TLabel;
Label23: TLabel;
Label24: TLabel;
Label25: TLabel;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
uses Unit4, Unit2,math;
var
N,rx,h,h0,n1:real;
a,hx,b,l:integer;
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);