unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls;

type
  TForm1 = class(TForm)
    Label1: TLabel;
    Label2: TLabel;
    Edit1: TEdit;
    Edit2: TEdit;
    Memo1: TMemo;
    CheckBox1: TCheckBox;
    RadioGroup1: TRadioGroup;
    Button1: TButton;
    procedure FormCreate(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
Memo1.Clear;
Memo1.Lines.Add('Результаты') ;
RadioGroup1.ItemIndex:=0;
end;

procedure TForm1.Button1Click(Sender: TObject);
var x,m,j,f: extended;
begin
x:StrToFloat(Edit1.Text);
y:StrToFloat(Edit2.Text);
Memo1.Lines.Add('x='+FloatToStrF(x,fffixed,8,4));
Memo1.Lines.Add('y='+FloatToStrF(y,fffixed,8,4));
case RadioGroup1.ItemIndex of
 o: f:=sh(x);
 1: f:=sqr(x);
 2: f:=exp(x);
 end;
if -1<m<x then j:=sin(5*f+m*abs(f)) ;
else if x>m then
else

end;

end.
