I have 100 rupees and i have to purchase 100 animals from the given list only elephant is 6rupees,sheep is 10 paisa,horse is3 rupees
Answers
Answer:
uppose that number of horses is x, number of elephants is y and number of camels is z.
prices are:
1 horse = Rs 1
1 elephnat = Rs 2
20 camels = Rs 1 means 1 camel = Rs 0.05.
we can form two equations:
total number of animals = 100
x+y+z = 100 …………….(1)
and total sum of money = 100
1x + 5y + 0.05z = 100 …………(2)
by equations (1) and (2)
-4y + 0.95z =0
.95z = 4y
z/y = 4/0.95
z/y = 80/19 (after simplification )
so if z(camels) = 80 and y(elephants) = 19
then horses,x = 100-y-z ( from equation 1)
x= 100–80–19
x=1
now
1 horse = Rs 1
19 elephnats = 19*5= Rs 95
80 camels = 80*0.05 = Rs 4
Note : The system of equations in this question has infinite solutions like x=50.5; y=9.5 and z=40, and x= -18; y= 38 and z=80, but in our question we need natural numbers values for x y and z, So only one solution satisfies our condition.