Three classes of school children are selling tickets to the school play. The number of tickets sold by these classes, and the number of children in each of the classes have been read into these variables: tickets, tickets, tickets 3 and class1, class2, class3. Write an expression for the average number of tickets sold per school child.

Respuesta :

Answer:

The expression for the average number of tickets sold per school child is:

[tex]M = \frac{tickets*class1 + tickets2*class2 + tickets3*class3}{class1 + class2 + class3}[/tex]

Step-by-step explanation:

The average number of tickets sold per school child is the weighted mean calculus between the number of tickets sold by these classes and the number of children in each classes.

This is the multiplication between the number of tickets sold by these classes and the number of children in each classes divided by the total weight(in this exercise, the total weight is the total number of school child).

So, the expression for the average number of tickets sold per school child is:

[tex]M = \frac{tickets*class1 + tickets2*class2 + tickets3*class3}{class1 + class2 + class3}[/tex]