Consider two families A and B. Suppose there are 4 men, 4 women and 4 children in family A and 2 men, 2 women and 2 children in family B. The recommended daily amount of calories is 2400 for a man, 1900 for a woman, 1800 for a child and 45 grams of proteins for a man, 55 grams for a woman and 33 grams for a child.
The requirement of calories and proteins for each person is given by matrix R and the number of family members in each family is given by matrix F.
Matrix R is