Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2011-12-07 23:05:03

model
Member
Registered: 2011-08-10
Posts: 142

mode in sorted data Set

What's a logic to find the most repeated value in the sorted  data set  .

Say dataSet = {  1 5  5  6   6  7  9  4   }

What's logic to find mod in the above data set . ??


Maths is Doctor that make our life easy .. smile smile

https://www.facebook.com/groups/Maths.GIS/

Offline

#2 2011-12-07 23:09:34

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: mode in sorted data Set

Hi model;

As a programming task or by looking?

The mode is defined as the value that occurs most frequently. There can be more than one mode.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB