Thursday, August 2, 2012

Mathematics Algorithm

Mathematics algorithm is to make the problem more simple to be solved, but if we don't make right algorithm the problem will solve in the wrong way.

For example how to draw a problem into a simple algorithm in order we can calculate using simple formula that already available on mathematics, as on the problem solving of statistic.

Known: One badminton team consist of 5 members, will decide 2 people play a single players, and 2 pairs to play double. How to make this problem become more simple to be solved, depend on how you can make algorithm of this problem into the formula. On this example the formula that use to solve are as follows:


• The number option to choose 2 people as single player use the following formula:
C25 = 5!/(2!(5-2)!) = 5!/(2!.3!) = 10

• The number option to choose first pairs to play double
C23 = 3!/(2!(3-2)!) = 3!/(2!.1!) = 3

• The number option to choose second pairs to play double
C12 = 2!/(1!(2-1)!) = 2!/(1!.1!) = 2

So the number all option can be made are 10 x 3 x 2 = 60