Target

Peter, Martin and Jirka were fire in a special target, which had only three fields with values of 12, 18 and 30 points. All boys were firing with the same number of arrows and all the arrows hit the target, and the results of every two boys differed in one point.

Peter's average score was two points better than Martin's and Martin was one point better than Jirka's average.

Find how many arrows each of the boys fired.


Correct answer:

n =  6

Step-by-step explanation:

Peter: 30 30 30 30 30 30; AVG = 30
Martin: 30 30 30 30 30 18; AVG = 28
Jirka: 30 30 30 30 30 12; AVG = 27

Program in PHP:
$x = array(12,18,30);
$ch = array();
for($n=1;$n<1000;$n++)
{
    foreach($x AS $xx)
    {
        $ch[0][$n] = $xx;

        foreach($x AS $yy)
        {
            $ch[1][$n] = $yy;
            foreach($x AS $zz)
            {
                $ch[2][$n] = $zz;

                $s0 = array_sum($ch[0]);
                $s1 = array_sum($ch[1]);
                $s2 = array_sum($ch[2]);

                if($s0/$n != 2+$s1/$n || $s1/$n != 1 + $s2/$n)
                {
                    continue;
                }

                echo($n);
                print_r($ch);

            }
         }
    }

}




Did you find an error or inaccuracy? Feel free to write us. Thank you!



avatar







Tips to related online calculators
Looking for help with calculating arithmetic mean?
Looking for a statistical calculator?
Do you have a linear equation or system of equations and looking for its solution? Or do you have a quadratic equation?

You need to know the following knowledge to solve this word math problem:


 
We encourage you to watch this tutorial video on this math problem: video1

Related math problems and questions:

  • Contestants
    avg In the competition it was possible to get 0-5 points. In fact, 5 contestants of the 15 best contestants has earned 5 points or 4 points (which have won 10 contestants). The number of contestants who earned 3 points was the same as the number of contestant
  • The shooter
    terc The shooter shoots at the target, assuming that the individual shots are independent of each other and the probability of hitting each of them is 0.2. The shooter fires until he hits the target for the first time, then stop firing. (a) What is the most li
  • Three shooters
    terc2 Three shooters shoot, each one time, on the same target. The first hit the target with a probability of 0.7; second with a probability of 0.8 and a third with a probability of 0.9. What is the probability to hit the target: a) just once b) at least once c
  • Pool
    pool If water flows into the pool by two inlets, fill the whole for 19 hours. The first inlet filled pool 5 hour longer than the second. How long pool take to fill with two inlets separately?
  • Team
    football The football team has 11 players. Their average age is 20 years. During the match due to injury, one player withdraws and the average age of the team is 18. How old was injured player?
  • Play tennis
    tenis Peter and Jirka agreed to go play tennis. Peter's path to the tennis court is 800 meters longer and leads around Jirka's house. Peter comes out first and then picks up Jirka. Together they go at the same average speed as Peter went, so they reach the plac
  • School year
    boys_girls At the end of the school year has awarded 20% of the 250 children who attend school. Award got 18% boys and 23% of girls. Find how many boys and how many girls attend school.
  • N percentille problem
    calc Here is a data set (n=117) that has been sorted. 10.4 12.2 14.3 15.3 17.1 17.8 18 18.6 19.1 19.9 19.9 20.3 20.6 20.7 20.7 21.2 21.3 22 22.1 22.3 22.8 23 23 23.1 23.5 24.1 24.1 24.4 24.5 24.8 24.9 25.4 25.4 25.5 25.7 25.9 26 26.1 26.2 26.7 26.8 27.5 27.6 2
  • Athletic club
    skola All athletic club boys lined up by size. In front of Peter was one-eighth of the total. Right behind Peter stood his brother Radek and behind Radek another five-sixths of the total number of boys. Mark the unknown total number of athletic club boys x. 1,
  • Donuts
    buchty In the dining room at one table sit Thomas, Filip and Martin. Together they eat 36 donuts. How many donuts eaten everyone, when Filip ate twice as much as Thomas and Martin even half over Filip?
  • Find d 2
    lines Find d in an A. P. whose 5th term is 18 and 39th term is 120.
  • Classs mean
    nums Class size is 30 students, math was not worse than sign 2. Determine the number of pupils who were sign 1 if the class had a 1.4 sign average.
  • Boys and girls
    dices2 There are 11 boys and 18 girls in the classroom. Three pupils will answer. What is the probability that two boys will be among them?
  • Enterprise and wages
    workers The enterprise operates a total 162 workers and their average salary is M dollars. If the company has hire an additional 18 employees whose average wage would be the S dollars, would reduce the overall average salary in the company of 3.6%. Calculate the
  • Magic number
    prof_einstein The number 135 split to two addends so that one addend was 30 greater than 2/5 the addend.
  • Tourist Jirka
    turisti Distance between the points A and B is 13.5 km. Jirka went from point A to point B unknown speed and for an unknown period of time. Back to the point A went slower by 3 km/h which means that went 20 minutes more. How long Jirka took the return journey?
  • Research in school
    numbers For particular research in high school, four pupils are to be selected from a class with 30 pupils. Calculate the number of all possible results of the select and further calculate the number of all possible results, if it depends on the order in which th