if i have 20rs/- with me i want distribute for gents 4 rs/- and for ladies 50 ps/- and for small boys 25 ps/-and total number of members is 20want to give
Answers
Answered by
2
number of gents = G
number of ladies = L
number of children = C
G + L + C = 20,
G, L, C are all in the range from 1 to 18.
Rs 20 = G * 4 + 0.50 * L + 0.25 * C
= 4 G + 0.50 L + 0.25 ( 20 - G - L )
= 5 + 3.75 G + 0.25 L
15 = 3.75 G + 0.25 L
60 = 15 G + L
Let G = 1, then L = 45 and hence it is not possible, as L <= 18
G = 2 , then L = 30 and hence, it is not possible, as L <= 18
G = 4, then L = 0, hence it is not possible , as L >= 1
G = 3, then L = 15, and then C = 2.
So gents get 3 * 4 = Rs 12 , Ladies get 15*0.50 = 7.50 Rs
children get Rs 0.25 * 2 = Rs 0.50
number of ladies = L
number of children = C
G + L + C = 20,
G, L, C are all in the range from 1 to 18.
Rs 20 = G * 4 + 0.50 * L + 0.25 * C
= 4 G + 0.50 L + 0.25 ( 20 - G - L )
= 5 + 3.75 G + 0.25 L
15 = 3.75 G + 0.25 L
60 = 15 G + L
Let G = 1, then L = 45 and hence it is not possible, as L <= 18
G = 2 , then L = 30 and hence, it is not possible, as L <= 18
G = 4, then L = 0, hence it is not possible , as L >= 1
G = 3, then L = 15, and then C = 2.
So gents get 3 * 4 = Rs 12 , Ladies get 15*0.50 = 7.50 Rs
children get Rs 0.25 * 2 = Rs 0.50
Similar questions
Computer Science,
9 months ago
Math,
9 months ago
Math,
9 months ago
Physics,
1 year ago
English,
1 year ago