Re: (newbie) Find Max Number In An Array
- From: "Uffe Kousgaard" <oh@xxxxx>
- Date: Tue, 27 Jun 2006 15:30:08 +0200
"Nektarios - Greece" <eizo5@xxxxxxxxxxxx> wrote in message
news:e7r19d$31a$1@xxxxxxxxxxxxxxxxxxxxxx
Do i have to put each Y to an array [X,Y] and then find the minimum Y ?
No, do it like this:
minY:= somebignumber
for xx:= x+1 to x+50 do
begin
y:= f(xx);
if y<miny then miny:= y;
end;
Can i create a graph X-Y in Delphi ?
See TChart in the help.
.
- References:
- (newbie) Find Max Number In An Array
- From: Nektarios - Greece
- (newbie) Find Max Number In An Array
- Prev by Date: Re: (newbie) Find Max Number In An Array
- Next by Date: Re: (newbie) Find Max Number In An Array
- Previous by thread: Re: (newbie) Find Max Number In An Array
- Next by thread: (newbie) Find Max Number In An Array
- Index(es):