Comprehension

Read the following scenario and answer the question.
Aman has come to the market with Rs. 100. If he buys 5 kilograms of cabbage and 4 kilograms of potato, he will have Rs. 20 left; or else, if he buys 4 kilograms of cabbage and 5 kilograms of onion, he will have Rs. 7 left. The per kilogram prices of cabbage, onion and potato are positive integers (in rupees), and any type of these vegetables can only be purchased in positive integer kilogram, or none at all.

Question: 1

Aman decides to buy only onion, in whatever maximum quantity possible (in positive integer kilogram), with the money he has come to the market with.
How much money will he be left with after the purchase?

Updated On: Dec 5, 2024
  • Rs. 12
  • Rs. 9
  • Rs. 7
  • Rs. 5
  • Rs. 1
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is

Solution and Explanation

Step 1: Write equations for the given conditions. 

Let the prices of cabbage, onion, and potato be c, o, and p (in Rs./kg), respectively. 

From the problem, we have:

5c + 4p + 20 = 100 = => 5c + 4p = 80, (1)

4c + 5o + 7 = 100 = => 4c + 5o = 93. (2)

Step 2: Solve the equations. From equation (1):

\(p = \frac{80 - 5c}{4}\).

For p to be an integer, 80 − 5c must be divisible by 4. Testing values of c:

  • For c = 8:
  • For c = 6:
  • For c = 4:

Step 3: Find the money left after buying onions. With Rs. 100 and o = 15, Aman can buy:

$\frac{100}{15} = 6\frac{2}{3}$ kg of onions.

The cost is 6 × 15 = 90, leaving:

100 − 90 = 9 Rs.

Final Answer: Rs. 9.

Was this answer helpful?
0
0
Question: 2

Aman decides to buy only onion and potato, both in positive integer kilogram, in such a way that the money left with him after the purchase will be insufficient to buy a full kilogram of either of the two vegetables.
If all such permissible combinations of purchases are equally likely, what is the probability that Aman buys more onion than potato?

Updated On: Dec 5, 2024
  • 3/10
  • 5/6
  • 2/9
  • 7/20
  • 45392
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Write the total cost equation. The total cost is:

x ⋅ o + y ⋅ p = 100 − r,

where x and y are the kilograms of onion and potato, and r is the remaining money such that r \(<\) o and r \(<\) p. From Question 16, o = 15 and p = 15.

Step 2: Identify permissible combinations. Aman must spend at least 85 (to leave r \(<\) 15) but less than 100. Testing x and y such that x + y \(≤\) 6, the permissible combinations are:

(x, y) = (1, 5), (2, 4), (3, 3), (4, 2), (5, 1).

Step 3: Count cases where x \(>\) y. For x \(>\) y:

(x, y) = (4, 2), (5, 1).

The total number of combinations is 5.

Probability:

\(P(x \(>\) y) = \frac{2}{5} = \frac{3}{10}\).

Final Answer: $\frac{3}{10}$

Was this answer helpful?
0
0

Top Questions on Algebra

View More Questions

Questions Asked in XAT exam

View More Questions