- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Vijay had some bananas, and he divided them into two lots A and B. He sold the first lot at the rate of Rs 2 for 3 bananas and the second lot at the rate of Re 1 per banana, and got a total of Rs 400 . If he had sold the first lot at the rate of Re 1 per banana, and the second lot at the rate of Rs 4 for 5 bananas, his total collection would have been Rs 460 . Find the total number of bananas he had.

Given:

Vijay had some bananas, and he divided them into two lots A and B. He sold first lot at the rate of Rs. 2 for 3 bananas and the second lot at the rate of Rs. 1 per banana and got a total of Rs. 400. If he had sold the first lot at the rate of Rs. 1 per banana and the second lot at the rate of Rs. 4 per five bananas, his total collection would have been Rs. 460.

To do:

We have to find the total number of bananas he had.

Solution:Let the number of bananas in lot A and the number of bananas in lot B be $x$ and $y$ respectively.

The total number of bananas $=x+y$.

According to the question,

$x\times\frac{2}{3} + y\times1 = 400$

$3(\frac{2x}{3}+y)=3(400)$ (Multiplying both sides by 3)

$2x+3y=1200$.....(i)

$x\times 1 + y\times \frac{4}{5} = 460$

$5(x+\frac{4y}{5})=5(460)$ (Multiplying both sides by 5)

$5x+4y=2300$.....(ii)

Adding equations (i) and (ii), we get,

$2x+3y+5x+4y=1200+2300$

$7x+7y=3500$

$7(x+y)=7(500)$

$x+y=500$

Therefore, Vijay had 500 bananas.

- Related Questions & Answers
- Who is E Sreedharan and what if he becomes the President of India?
- My eyes pain a lot when I read the whole day. How to soothe them?
- Koko Eating Bananas in C++
- Distributing Bananas Problem in JavaScript
- I sweat a lot even in Winters. How to maintain the moisture and salt content of my body?
- How to add a second X-axis at the bottom of the first one in Matplotlib?
- What happens if we eat two bananas on an empty stomach?
- How to concatenate two strings so that the second string must concatenate at the end of first string in JavaScript?
- Difference between first and the second array in JavaScript
- My kid is now 2 years old and he has not got any molar, what to do?
- In-the-Money, At-the-Money, and Out-of-theMoney Options
- Find the largest multiple of 2, 3 and 5 in C++
- What are the differences between You At 18 and You At 28?
- Searching 2 fields at the same time to fetch a specific First Name and Last Name from a table in MySQL
- What are the differences between thunderbolt 2 and thunderbolt 3?
- Why do many people like to dance a lot?