A pineapple costs Rs.7 each. A watermelon costs Rs.5 each. X spends Rs...
Let the number of pineapples and watermelons be x and y respectively.
Then, 7x+5y=38 or 5y=(38−7x) or y=
Clearly, y is a whole number, only when (38−7x) is divisible by 5.
View all questions of this test
A pineapple costs Rs.7 each. A watermelon costs Rs.5 each. X spends Rs...
Let's assume that X purchased 'p' pineapples and 'w' watermelons.
Given that each pineapple costs Rs. 7 and each watermelon costs Rs. 5, we can write the following equations based on the given information:
Equation 1: Total cost of pineapples = 7p
Equation 2: Total cost of watermelons = 5w
Equation 3: Total cost of both fruits = 7p + 5w
We know that X spent Rs. 38 on these fruits. Therefore, we can write the equation:
Equation 4: 7p + 5w = 38
We need to find the number of pineapples purchased, which is 'p'.
To solve the problem, we need to find the value of 'p' that satisfies Equation 4.
Using trial and error, we can substitute different values of 'p' and 'w' to check if they satisfy Equation 4:
When p = 1 and w = 7, we get: 7(1) + 5(7) = 7 + 35 = 42 (not equal to 38)
When p = 2 and w = 6, we get: 7(2) + 5(6) = 14 + 30 = 44 (not equal to 38)
When p = 3 and w = 5, we get: 7(3) + 5(5) = 21 + 25 = 46 (not equal to 38)
When p = 4 and w = 4, we get: 7(4) + 5(4) = 28 + 20 = 48 (not equal to 38)
From the above calculations, we can see that none of the values of 'p' and 'w' satisfy Equation 4.
Therefore, the given data is inadequate to determine the number of pineapples purchased.
Hence, the correct answer is option 'd' - Data inadequate.
To make sure you are not studying endlessly, EduRev has designed Class 4 study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Class 4.