TCS
Company
4 years ago Ram's age was twice Rahim's age. 4 years hence Ram's age will be 4/3 times Rahim's age. Find Ram's age in binary numbers.
Read Solution (Total 3)
-
- ram x& rahim y
as per question x-3=2(y-3)
x+3=4/3(y+3)
solve eq the x valu in binay is ans - 13 years agoHelpfull: Yes(0) No(2)
- ram age = x rahim's age=y
four years ago
x-4=2(y-4)-->x=2y-8+4=2y-4
four years hence
x+4=4/3(y+4)
3x = 4y + 16 - 12
3x=4y+4
3(2y-4)=4y+4
6y-12=4y+4
2y=16
y=8
---
x=2(8)-4
x=12
binary of ram's age is 1100
ans is 1100 - 13 years agoHelpfull: Yes(0) No(1)
- let present age of ram is x and raheem is y.so 3 years ago there age was x-3 & y-3.now,
x-3=2(y-3) ......given
x+3=4/3(y+3) ......given for age 3 years later from present
solve both eqn and we get x=12 &y=8
binary representation of 12 is 1100. - 12 years agoHelpfull: Yes(0) No(0)
TCS Other Question