Find X and Y. (1 Rupee = 100 Paise)

A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gave him Y rupees and X paise. Neither the person nor the cashier noticed that.

After spending 20 paise, the person counts the money. And to his surprise, he has double the amount he wanted to withdraw.

Find X and Y. (1 Rupee = 100 Paise)

As given, the person wanted to withdraw 100X + Y paise.

But he got 100Y + X paise.

After spending 20 paise, he has double the amount he wanted to withdraw. Hence, the equation is

2 * (100X + Y) = 100Y + X - 20

200X + 2Y = 100Y +X - 20

199X - 98Y = -20

98Y - 199X = 20

Now, we got one equation; but there are 2 variables. We have to apply little bit of logic over here. We know that if we interchange X & Y, amount gets double. So Y should be twice of X or one more than twice of X i.e. Y = 2X or Y = 2X+1

Case I : Y=2X
Solving two equations simultaneously
98Y - 199X = 20
Y - 2X = 0
We get X = - 20/3 & Y = - 40/2

Case II : Y=2X+1
Solving two equations simultaneously
98Y - 199X = 20
Y - 2X = 1
We get X = 26 & Y = 53

Now, its obvious that he wanted to withdraw Rs. 26.53

My Blog List

• Edwin van der Sar meminta manajer Manchester United untuk segera membangkitkan motivasi para pemain. Manchester United mengundang perhatian dari para manta...
• Closer to the eye of the shooter, this is because Preview is quite literally applying a filter to each individual page of the PDF you are saving. the proce...
• INTRA NIFTY *f**u**t**u**r**e*S FOR 29.10.09 Hi Friends, Happy to meet you all again. I am going to post my 98% accuracy Nifty *f**u**t**u**r**e*s Intrad...
• Do It Yourself *P**r**o**j**e**c**t* : Menyelenggarakan Multipoint Video Conferencing Menggunakan Skype Gubernur Sulawesi Selatan Berkomunikasi dengan Ti...
• A: There is nothing like Virtual Constructor. The Constructor can’t be virtual as the constructor is a code which is responsible for creating an instance o...
• The application server is run by the Computer Administration Group at the Mechanical Engineering Departmentt. One of the objectives of this course is to...
• इंडिक ट्रांसलिटरेशन गूगल ट्रांसलिटरेशन इंग्लिश शब्दों को हिन्दी में टाइप करने में मदद करता है। इसकी खासियत है के आप कोई भी हिन्दी शब्द का इंग्लिश स्पेलिंग ...
• Demo Requirements This session requires 1 machine (called Server1 in this document). Minimum Hardware Requirements: Server1 *Processor* 400Mhz *Memory...
• IE App Compat VHD - Time bomb 4/2009 Posted: 02 Jan 2009 01:18 PM CST VPC Hard Disk Image for testing websites with different IE versions on Windows XP ...
• CRACK THE INTERVIEW *What Is .NET?* .NET is a powerful object-oriented computing platform designed by Microsoft. In addition to providing traditional soft...