The maximum of a set of numbers is the largest number in the
set.
View page
From the minimum value of the independent variable to its
maximum.
View page
The independent variable is the one in which you can control. So
say you are measuring the speed of a car. You set up a length of 50
M and you take the stopwatch to time how long it takes for the car
to reach 50 M. You can't control the time, but you have controlled
how far the car goes. Therefore, the distance is the independent
variable in this problem.
View page
First, let's assume that this is a set of integers that you want to find the maximum of:
Set setOfInts; // also assume that this set is full of some ints
Iterator it = setOfInts.iterator();
int max;
if(it.hasNext()) {
max = it.next();
while(it.hasNext()) {
int current = it.next();
if(current > max) {
max = current;
}
}
// max is now the largest number in the set
}
The problem comes when trying to find the position of the maximum number in the Set. By definition, a Set is an unordered group of numbers. So any order that the Set returns (say, by the Set's iterator) will be arbitrary.
View page
The word maximum in mathematics describes the biggest number in
a set of numbers or data. For example 10,8,5,2,60,9,3,1. The
maximum set of numbers is 60.