Académique Documents
Professionnel Documents
Culture Documents
me:56969/cd5d3d734c7cc7c00ceb8776f2e72ab5/announce
e45873rj5829sf26e9fez5zd4f8er41v
http://tracker.t411.me:56969/80af327e77ac492b3089aa144de4e565/announce
unit Unit3;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm3 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Button1: TButton;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form3: TForm3;
h : real ;
implementation
{$R *.dfm}
procedure TForm3.Button1Click(Sender: TObject);
begin
for h :=0 to strtofloat(Edit3.Text) do
if h = 0 then
edit1.Text := '{'
else
edit1.Text := edit1.Text + floattostr(3.14*h*h*(3*strtofloat(edit2.Text) - h)/3)
;
end;
end.
97 306 256 ;
final sphre :
end.
int
int
int
int
var
R,h: integer ;
begin
R := StrToInt(edit5.Text);
for h:=0 to StrToInt(Edit6.Text) do
if h=0 then
edit7.Text := '{'
else
edit7.Text := edit7.Text + FloatToStr(3.14*h*h*(3*R - h)/3)+';';
{940,953333333333;3759,62666666667;8449,74;15005,0133333333;23419,1666666667;336
85,92;45798,9933333333;59752,1066666667;75538,98;93153,3333333333;112588,8866666
67;133839,36;156898,473333333;181759,946666667;208417,5;236864,853333333;267095,
726666667;299103,84;332882,913333333;368426,666666667;405728,82;444783,093333333
;485583,206666667;528122,88;572395,833333333;618395,786666667;666116,46;715551,5
73333333;766694,846666667;819540;874080,753333333;930310,826666667;988223,94;104
7813,81333333;1109074,16666667;1171998,72;1236581,19333333;1302815,30666667;1370
694,78;1440213,33333333;1511364,68666667;1584142,56;1658540,67333333;1734552,746
66667;1812172,5;1891393,65333333;1972209,92666667;2054615,04;2138602,71333333;22
24166,66666667;2311300,62;2399998,29333333;2490253,40666667;2582059,68;2675410,8
3333333;2770300,58666667;2866722,66;2964670,77333333;3064138,64666667;3165120;32
67608,55333333;3371598,02666667;3477082,14;3584054,61333333;3692509,16666667;380
2439,52;3913839,39333333;4026702,50666667;4141022,58;4256793,33333333;4374008,48
666667;4492661,76;4612746,87333333;4734257,54666667;4857187,5;4981530,45333333;5
107280,12666667;5234430,24;5362974,51333333;5492906,66666667;5624220,42;5756909,
49333333;5890967,60666667;6026388,48;6163165,83333333;6301293,38666667;6440764,8
6;6581573,97333333;6723714,44666667;6867180;7011964,35333333;7158061,22666667;73
05464,34;7454167,41333333;7604164,16666667;7755448,32;7908013,59333333;8061853,7
0666667;8216962,38;8373333,33333333;
var L,R,a,h : integer ;
begin
R := StrToInt(Edit2R.Text);
L := StrToInt(Edit1L.Text);
a := StrToInt(edit3r.Text);
h := StrToInt(edit4h.Text);
for h := 0 to StrToInt(edit4h.Text)do
if h=0 then
Edit5result.Text := '{'
else
Edit5result.Text := Edit5result.Text + FloatToStr((R*R*Arccos(1-h/R)-(R-h)*sq
rt(h*(2*R-h)))*L+ (3.14*h*h*a*(R-h)/3*R))+';' ;
46476316
BAGI VA5LAGI MAHI RAD WELI VA5LAGI BAGI 3AWDANI NEJBAR KEL 7AD 5A6I 8ELI VA5LAGI