Ask Experts Questions for FREE Help !
Ask
    galactus's Avatar
    galactus Posts: 2,271, Reputation: 282
    Ultra Member
     
    #1

    Jun 14, 2007, 11:12 AM
    Troll and little red riding hood
    Here's a fun little problem if anyine would like to have a go. It's not too bad.

    Maybe you've seen it before, if so, maybe those who haven't will find it fun.

    "Little Red Riding Hood is walking to her grandmother's house. She crosses a
    bridge and a troll tells her to pay 1/2 of all her apples and 1/2 of one
    apple. At each bridge there is a troll asking for the same thing. There are
    three bridges. When she gets to her grandmother's house, she has no apples
    left. How many apples did she start with"
    Capuchin's Avatar
    Capuchin Posts: 5,255, Reputation: 656
    Uber Member
     
    #2

    Jun 14, 2007, 11:51 AM
    7? Just a first guess.
    Lowtax4eva's Avatar
    Lowtax4eva Posts: 2,467, Reputation: 190
    Ultra Member
     
    #3

    Jun 14, 2007, 11:59 AM
    I figured 5 actually

    Edit, nope, it's 7 you were right
    galactus's Avatar
    galactus Posts: 2,271, Reputation: 282
    Ultra Member
     
    #4

    Jun 14, 2007, 12:05 PM
    I realize this problem isn't that difficult. I just thought it was cute.

    But, why doesn't someone post their solution instead of just the answer? Go ahead. Different methods is what's interesting.
    asterisk_man's Avatar
    asterisk_man Posts: 476, Reputation: 32
    Full Member
     
    #5

    Jun 14, 2007, 12:08 PM
    I cheated with maxima so highlight the text below to see a cheater's answer :)

    ---start hidden---

    at each bridge she will start with a apples and end with 0.5a-0.5 apples so the troll function is:
    t(a)=0.5a-0.5=(a-1)/2
    so if she starts with a_0 apples she ends with a_3=t(t(t(a_0)))
    if you do all the math and set a_3=0 and solve for a_0 you'll find that

    a_0=7

    in maxima:
    t(a):=(a-1)/2
    y:t(t(t(a)))
    solve(y=0,a)

    ---end hidden---
    Lowtax4eva's Avatar
    Lowtax4eva Posts: 2,467, Reputation: 190
    Ultra Member
     
    #6

    Jun 14, 2007, 12:25 PM
    Lol

    What's maxima? I assume a program that solves math functions?
    Lowtax4eva's Avatar
    Lowtax4eva Posts: 2,467, Reputation: 190
    Ultra Member
     
    #7

    Jun 14, 2007, 12:27 PM
    I just assumed in order to end with zero he has to arrive at the last bridge with one apple (1/2 of all he has plus 1/2 is one apple)

    Going backwards I then saw he has to arrive at the second bridge with 3, giving the troll 2 (1/2 of all he has plus a half is 2).

    Same for the first, he has to leave with 3 so he has to arrive with 7, (half of all be has plus a half is 4)
    asterisk_man's Avatar
    asterisk_man Posts: 476, Reputation: 32
    Full Member
     
    #8

    Jun 14, 2007, 12:56 PM
    Quote Originally Posted by Lowtax4eva
    lol

    What's maxima? I assume a program that solves math functions?
    Maxima is an open source computer algebra system.
    Maxima - A GPL CAS based on DOE-MACSYMA

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

A Troll Puppet Movie [ 5 Answers ]

I remember watching this movie when I was young. It was about a bunch of trolls who were puppets and sang songs and kind of acted music videos for the songs like "Don't worry be happy." It's driving me crazy. I can't think of the title

Weird animated 80's/90's movie with an ugly troll? [ 7 Answers ]

Ok so for some strange reason I have had this movie bugging the crap out of me because I cannot seem to think what it is! I guess it started after coming across that Disney flick The Black Cauldron, but I'm pretty sure I'm not getting this one mixed up with that movie. This may sound sooo...

Rocket Robin Hood [ 3 Answers ]

Has anyone ever found episodes of Rocket Robin Hood ? It was a cartoon I used to watch it in the morning before school when I was little (yes, I am really dating myself now... ). I'd like to try and find a few episodes... :)

Jenn Air Range Hood [ 3 Answers ]

I bought a new Jenn-Air hood (JXT5830) to install over the range in my kitchen. I then connected the wires as per the instructions, but none of the front lights or functions worked. The company is the worst imaginable-- no help at all to installers, so I must rely on my friends here. I connected...


View more questions Search