Two numbers are in the ratio 5:3. If they differ by 18, what are the numbers?

Complete Python Prime Pack

9 Courses     2 eBooks

Artificial Intelligence & Machine Learning Prime Pack

6 Courses     1 eBooks

Java Prime Pack

9 Courses     2 eBooks

Given:

Two numbers are in the ratio of $5 : 3$.

They differ by 18.

To do:

We have to find the numbers.

Solution:

Let the numbers be $5x$ and $3x$.

Given that the difference of the numbers is $18$.

Therefore,

$5x - 3x = 18$

$2x = 18$

$x=\frac{18}{2}$

$x = 9$

$\Rightarrow 5x=5(9)=45$

$3x=3(9)=27$

Therefore, the numbers are $45$ and $27$.

Updated on 10-Oct-2022 13:47:38