if you have a bill of 1.346 pesos

how can you equal each person in 5 family
per head?
example.family of Joseph-3
family of Ben -2
family of Greg -4?

You asked this question once already, but with slightly different numbers. I don't know what you mean by

"person in five family per head"
There are different numbers of heads per family. No family has five heads.

To split the bill equally among the 5 families, we need to first determine the total number of people across all the families. According to the example you provided, there are 3 people in Joseph's family, 2 people in Ben's family, and 4 people in Greg's family. So, the total number of people is:

3 + 2 + 4 = 9 people

Next, we need to divide the total bill of 1.346 pesos by the total number of people (9). This will give us the cost per person.

1.346 pesos / 9 people = 0.1496 pesos per person

To calculate an equal share for each family, we multiply the cost per person by the number of people in each family.

Joseph's family: 0.1496 pesos/person * 3 people = 0.4488 pesos
Ben's family: 0.1496 pesos/person * 2 people = 0.2992 pesos
Greg's family: 0.1496 pesos/person * 4 people = 0.5984 pesos

So, to equalize the cost per person in each family:
- Joseph's family should pay 0.4488 pesos
- Ben's family should pay 0.2992 pesos
- Greg's family should pay 0.5984 pesos