Results 1 to 5 of 5

Math Help - Logic Question

  1. #1
    Newbie
    Joined
    Jun 2008
    Posts
    2

    Logic Question

    I need help!!!!

    Can someone pls help me with this question

    Question: Two of your freinds,Bob and Bill left your calculator in one off their lockers. To test your logic the boys give you chance to ask them one question regarding who's locker the calculator is in. How ever,since they want to test your logic they have decided the one boy will lie to you what ever you ask and other one will tell you the truth what ever you ask. You do not know who will lie and who will tell the truth. You ask Bill ' will Bob tell me it is in his locker?' and Bill says, Yes. You smile in triumph and open the locker containing your calculator. Explain how you knew where calculator was located.


    Please help me to solve this,

    Thanks
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Moo
    Moo is offline
    A Cute Angle Moo's Avatar
    Joined
    Mar 2008
    From
    P(I'm here)=1/3, P(I'm there)=t+1/3
    Posts
    5,618
    Thanks
    6
    Hello

    Quote Originally Posted by Atrey View Post
    I need help!!!!

    Can someone pls help me with this question

    Question: Two of your freinds,Bob and Bill left your calculator in one off their lockers. To test your logic the boys give you chance to ask them one question regarding who's locker the calculator is in. How ever,since they want to test your logic they have decided the one boy will lie to you what ever you ask and other one will tell you the truth what ever you ask. You do not know who will lie and who will tell the truth. You ask Bill ' will Bob tell me it is in his locker?' and Bill says, Yes. You smile in triumph and open the locker containing your calculator. Explain how you knew where calculator was located.


    Please help me to solve this,

    Thanks
    If Bill is the liar, then the statement "Bob will tell me it is in his locker" is false.
    Because Bill lies, Bob doesn't lie, which means that what he is going to say will be true.
    So Bob won't tell me it is in his locker.

    ----> the calculator is in Bill's locker.



    Now, if Bill doesn't lie, then the statement "Bob will tell me it is in his locker" is true. And because Bill doesn't lie, Bob lies. So what Bob is going to say, "it is in my locker", will be false.

    ----> the calculator is in Bill's locker.


    Do you understand?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Super Member angel.white's Avatar
    Joined
    Oct 2007
    Posts
    723
    Awards
    1
    If the one asked is honest, he will forward the other's lie, thus you will be told a lie.

    If the one asked is a liar, he will negate the other's honesty, thus you will be told a lie.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    Jun 2008
    Posts
    2

    Thanks

    Thanks Guys
    I really appreciate that
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Jun 2008
    Posts
    8

    Brute force method

    You can always just represent the four possibilities. 1. bill has it and lies 2. bill has it and tells the truth 3. bob has it and bill lies 4. bob has it and bill tells the truth. You'll see that, in any case, if bill says "no" bob has it and if bill says "yes" bill has it. This doesn't really give you any insight into the logic but it does clearly display the consequences.
    Last edited by wkrepelin; June 24th 2008 at 12:25 AM. Reason: mistake
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. question in logic
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: March 20th 2011, 12:26 PM
  2. [SOLVED] A logic question!!
    Posted in the Discrete Math Forum
    Replies: 6
    Last Post: July 11th 2010, 03:05 PM
  3. logic question
    Posted in the Algebra Forum
    Replies: 3
    Last Post: October 21st 2009, 12:52 AM
  4. Logic question
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: June 8th 2009, 06:46 AM
  5. logic question
    Posted in the Discrete Math Forum
    Replies: 20
    Last Post: January 25th 2009, 11:51 AM

Search Tags


/mathhelpforum @mathhelpforum