Geeks Talk

Prepare for your Next Interview




About cpp connectivity

This is a discussion on About cpp connectivity within the Mathematical Puzzles forums, part of the Brain Gym category; hi friends , If the difference of two numbers is 8 and their product is 12, what is the sum of their squares?...


Go Back   Geeks Talk > Brain Gym > Mathematical Puzzles

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-02-2007
Junior Member
 
Join Date: Jul 2007
Location: coimbatore
Posts: 26
Thanks: 4
Thanked 3 Times in 2 Posts
govindaraj123 is on a distinguished road
simple math question

hi friends ,

If the difference of two numbers is 8 and their product is 12, what is the sum of their squares?

Last edited by govindaraj123 : 08-02-2007 at 03:59 AM. Reason: my question is placed here mistakenly. now i changed it .
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-02-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 68 Times in 57 Posts
psuresh1982 will become famous soon enough
Re: About cpp connectivity

There is no possible answer for this...You told their product is 12. So the possible combination is (1,12),(2,6),(3,4)

Whether the number is +ve or -ve, there is no possible for getting the difference 8.

If i am wrong then correct me...otherwise correct your question...

--------------------
suresh
Reply With Quote
  #3 (permalink)  
Old 08-04-2007
Junior Member
 
Join Date: Jul 2007
Location: coimbatore
Posts: 26
Thanks: 4
Thanked 3 Times in 2 Posts
govindaraj123 is on a distinguished road
Re: About cpp connectivity

Quote:
Originally Posted by psuresh1982 View Post
There is no possible answer for this...You told their product is 12. So the possible combination is (1,12),(2,6),(3,4)

Whether the number is +ve or -ve, there is no possible for getting the difference 8.

If i am wrong then correct me...otherwise correct your question...

--------------------
suresh

hi suresh .

i was given that question by an interview . i also confused with question . still i don't know correct answer . As u told question may be wrong i accept it ..
Reply With Quote
  #4 (permalink)  
Old 08-04-2007
Expert Member
 
Join Date: Jun 2006
Location: India
Posts: 411
Thanks: 15
Thanked 32 Times in 24 Posts
jamesravid is on a distinguished road
Re: About cpp connectivity

The answer is 88

It is given that a -b = 8
and ab = 12

we need to calculate a^2 + b^2

We know that a^2 + b^2 = (a-b)^2 + 2ab
= 8^2 + 2 *12
= 88

To Suresh, It is not given that both a and b are integers and you are not asked to find the values of a and b.

Hope this helps you guys.
__________________
Cheers,
:) James:)
Reply With Quote
The Following User Says Thank You to jamesravid For This Useful Post:
  #5 (permalink)  
Old 08-06-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 68 Times in 57 Posts
psuresh1982 will become famous soon enough
Re: About cpp connectivity

hi james,

Nice explanation. Now i am clear about the question....

----------------
suresh
Reply With Quote
  #6 (permalink)  
Old 08-06-2007
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,330
Thanks: 7
Thanked 117 Times in 106 Posts
debasisdas will become famous soon enoughdebasisdas will become famous soon enough
Re: About cpp connectivity

that was really tricky, so is the answer.
Reply With Quote
Reply

  Geeks Talk > Brain Gym > Mathematical Puzzles


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Methods and process of data connectivity manishvas22 Database Design 3 09-03-2007 05:10 AM
I am getting database connectivity error sumana_i Test Director 0 04-06-2007 03:24 AM


All times are GMT -4. The time now is 09:00 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved