At a recent reptile exhibit at the zoo, snakes and iguanas were on display. Calvin went to the exhibit and counted the number of legs and heads of all the reptiles in the exhibit and all the people visiting the exhibit (including himself). He counted a total of 103 heads and 200 legs. How many different possibilities are there for the number of snakes that could have been in the exhibit?
Details and assumptions
An iguana has 4 legs and 1 head. A snake has 0 legs and 1 head. A person has 2 legs and 1 head.
There is at least 1 snake and 1 iguana in the exhibit. Remember that Calvin is also a person.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Hmm...this is really weird coincidence because when I did this question I was in a rush, and didn't pay attention so I forgot that Calvin was there as well, therefore I was like "Oh 200-4=196 196/4=49 Ok thats the answer. I'm confused if this actually was a legit solution or dumb luck...probably dumb luck.
the two eqns can be formed as H=100-2I&s=3+I.so there is atleast one human so maximum iguanas can be 49,and minimum can be zero so total possibilities are 49!!!!!!!!!
We have s+i+p=103 and p+2i=100. Subsituting p+i=100-i gives us s-i=3. Now i can range from 1 to 49, so s ranges from 4 to 52, or 49 possible numbers.
From the problem above, we can use here algebra to find the possible number of combinations of the snakes, iguanas and people. Let x be the number of snakes, y be the number of iguanas and z be the number of people. Then we can have, x + y + z = 103 and 4y + 2z = 200. From the two equations, we can x - y = 3. We can conlude that the maximum number of iguana in the zoo is 50. But this is impossible so 49 is the maximum number of it. Then if there are 49 iguanas, there are 52 snakes. The minimum number of snakes is 4 so there are 49 different possibilities for the number of snakes.
Denote the respective numbers of animals/persons by first letter in the name, then 4 i + 2 p = 2 0 0 i + s + p = 1 0 3 yielding p = 1 0 0 − 2 i s = 3 + i Hence s ≥ 4 and i ≤ 4 9 , i.e. s ≤ 5 2 , hence there are 5 2 − 4 + 1 = 4 9 possible numbers of snakes.
Let n be the number of people, k be the number of iguanas and m be the number of snakes. Then we have two equations:
2 n + 4 k = 2 0 0
n + k + m = 1 0 3
They will give m = k + 3 and n + 2 k = 1 0 0 . We can see that k can have 49 different values (k can only be a whole number not 0 nor 50 (because that means n=0)) which gives n 49 distinct values and also m 49 distinct possible values. Hence the answer 49.
Let s be the number of snakes, p be the number of people and i be the number of iguanas.
We immediately see that we can form a system of linear equations using the number of heads and number of legs respectively:
s + p + i = 1 0 3 - heads
2 p + 4 i = 2 0 0 - legs
Now, since both people and iguanas have bilateral symmetry, we can simplify by only considering the left leg.
p + 2 i = 1 0 0 - left leg
From the left leg equation, we can see that p must be even, and create a set of tuples T containing all 49 solutions to this equation of the form.
T n = ( p n , i n )
T = ( 2 , 4 9 ) , ( 4 , 4 8 ) , ( 6 , 4 7 ) , ( 8 , 4 6 ) , . . . , ( 9 8 , 1 )
∣ T ∣ = 4 9
Observe that the sum of the elements of each tuple is unique. Each of the 49 tuple element sums p n + i n gives a unique value of s. Hence, s = 4 9
T is just a big list with all the possible solutions to the equation. If we look at a single tuple like ( 6 , 4 7 ) , here I am saying p = 6 and i = 4 7 is a solution to p + 2 i = 1 0 0
Does this help?
Since there is at least one each of iguanas, snakes, and people, we subtract 3 heads from our total to get 1 0 0 and 6 legs from out total to get 1 9 4 . We consider the maximum and minimum numbers of extra snakes (ones beyond our original value of 1 snake): the minimum is obtained when when we have the maximum number of humans, as then we have the maximum number of heads per leg and thus the fewest needed snakes. To account for all the legs in this way, we need 1 9 4 / 2 = 9 7 people, which means we need 3 snakes. For the maximum number of extra snakes, we need the minimum number of heads per leg, which we get by using only iguanas. However, we cannot only have iguanas, as the number of legs ( 1 9 4 ) is not divisible by 4 . The maximum number of iguanas is ⌊ 1 9 4 / 4 ⌋ = 4 8 , which means we have 1 9 4 − 1 9 2 = 2 legs left over for humans, or 1 human. This is a total of 4 9 heads, so we have 5 1 extra snakes. So, our maximum and minimum numbers of extra snakes, respectively, are 3 and 5 1 . The total number of different possibilities is thus 5 1 − 2 = 4 9 , as long as each solution is valid. We prove this as follows:
Say we have a s number of extra snakes, thus 1 0 0 − s heads and 1 9 4 legs remaining. Let us first say we have 1 0 0 − s humans, so we have 2 0 0 − 2 s legs. This takes into account the case where 1 9 4 = 2 0 0 − 2 s , or s = 3 . Now we consider when 1 9 4 = 2 0 0 − 2 s . Our number of legs 2 0 0 − 2 s ≤ 1 9 4 because s ≥ 3 , so we only need to consider the cases when 2 0 0 − 2 s < 1 9 4 . Let 2 0 0 − 2 s + x = 1 9 4 . It is obvious that x is even. For each human we replace with an iguana, we add 2 to our leg total. So if we replace 2 x humans with iguanas, we add 2 ⋅ 2 x = x legs to our total, meaning our total is equal to 1 9 4 . This means every possible number of snakes in our previously stated parameters is valid, so we have 4 9 as our answer.
hey boss hokum ka ikka boss
Let the number of snake ,iguana and men are S,I,M.
So, we can make two equations:
S+I+M=103--------------------------------------------------------------(1)
2M+4I=200---------------------------------------------------------------(2)
By doing (2)-(1) we get,
S-I=3
the least number of iguana is 1 and so least value of I is 1.
So, * least number of snake is 3+1=4. *
Now we will put I=2,3,4,5,6,7,8,9,----------------------------------------------49.
We will get S=5,6,7,8,9,10,11,12,---------------------------------------------------52.
When I=50 then S=53.
Now** in this case total head of snake and iguana is 53+53=103 which is the total number of heads.
In this case there exists no man.**
But there must be at least a man.
So ,I=50 is not acceptable.
So,we can get total 49 possibilities (4,5,6,7,8,9,10,11,----------------------------------------------52.)
So, we get * 49. *
Problem Loading...
Note Loading...
Set Loading...
How many combinations of iguanas ( i ) and humans ( h ) can you have so that there are 200 legs? We can test this by varying i .
We can write an equation to represent the number of legs:
4 i + 2 h = 2 0 0
And rewrite it so that we can find h if we know i :
h = 1 0 0 − 2 i
Now, let's cycle through the different possibilities for i .
...
It stops there because the next iguana would make it so that no more humans are in the room, and of course we need to think about our good friend Calvin!
In all of these 49 possible numbers of iguanas, the sum of the iguanas and humans (all of the heads) were less than 103, leaving room for a varying amount of snakes.
Therefore, there are 4 9 possibilities for the number of snakes that our little reptile fan got to see.