oct5ormevbantear
oct5ormevbantear oct5ormevbantear
  • 14-10-2016
  • Mathematics
contestada

What are the steps that are used to find the maximum element from the following finite sequence
1, 8, 12, 9, 11, 2, 14, 5, 10, 4.

Respuesta :

zeshan
zeshan zeshan
  • 17-10-2016

Compare the first two elements, and whichever element is greater, then compare this greater element with the next element in the sequence and continue the comparison for the rest of the elements. The steps are as follow.

1<8

8<12

12>9

12>11

12>2

12<14

14>5

14>10

14>4

Hence 14 is the maximum element/number. 

Answer Link

Otras preguntas

Describe connections between the Declaration of Independence and the third principle, natural and individual rights. be sure to include a quote from the declara
What is the domain of the function shown below? f(x)=-24/x^2+8
If carol can read 45 pages in one hour how many pages can she read in four hours
The perimeter of a playing field for a certain sport is 216 ft. The field is a​ rectangle, and the length is 48 ft longer than the width. Find the dimensions.
When x=2 and y=4, what is the value of 7x-y?​
9. Withdrawal occurs when alcohol is removed from the system after the brain has__________. A. adapted to the continued presence of alcohol B. become physically
ninety-nine percent of hindu believers live in A.india B.pakistan C.nepal D.indonesia
The following shape is made by cutting an equilateral triangle from a rectangle. Find its perimeter.
Here is a quote from an NPR news article: “On average, working-age adults were eating about 78 fewer calories per day in 2010, compared with five years earlier.
Why does a gallbladder exist.