- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

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

# The age of two friends Ani and Biju differ by 3 years. Ani’s father Dharam is twice as old as Ani and Biju is twice as old as his sister Cathy. The ages of Cathy and Dharam differ by 30 years. Find the ages of Ani and Biju.

Given:

The ages of two friends Ani and Biju differ by 3 years. Ani’s father Dharam is twice as old as Ani and Biju as twice as old as his sister Cathy. The ages of Cathy and Dharam differ by 30 years.

To do:

We have to find the ages of Ani and Biju.

Solution:

Let the ages of Ani and Biju be $x$ and $y$ years respectively.

This implies,

$x - y = 3$ ….(i)

Ani’s father Dharam’s age $= 2x$

Cathy’s age $= \frac{1}{2}y$

The ages of Cathy and Dharam differ by 30 years.

$\Rightarrow 2x - \frac{1}{2}y = 30$

$\frac{2(2x)-y}{2}=30$

$4x - y = 60$ ….(ii)

Subtracting equation (i) from equation (ii), we get,

$4x-y-(x-y)=60-3$

$4x-x-y+y=57$

$3x = 57$

$x = \frac{57}{3}$

$x=19$

Substituting $x=19$ in equation (i), we get,

$19-y=3$

$y=19-3$

$y=16$

Therefore, Anil’s age is 19 years and Biju’s age is 16 years .

- Related Questions & Answers
- Who is known as the Father of Internet?
- Instruction type ANI d8 in 8085 Microprocessor
- Is Google as good as our elders in terms of answering our doubts?
- Program to count number of operations needed to make string as concatenation of same string twice in Python
- What is bootstrap and what is its use as a framework?
- How do you make a separation and divorce as amicable as possible?
- What MySQL returns if we use NULL, as both the arguments, as one of the argument and as a separator, in CONCAT_WS() function?
- IS vs AS Operators in C#
- Why is silence termed as golden?
- Read by key and parse as JSON in JavaScript
- Why is Greenland called as island and not a continent?
- Explain import “as” and Export “as” constructs in JavaScript.
- As Far from Land as Possible in C++
- What is the Platform as a Service (PaaS)?
- Is Performance Management the Same as Performance Appraisal?
- Has France done the right thing by setting the legal age of sexual consent as 15?