Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / need help with this logic problem

Author
Message
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 19th Sep 2009 19:59 Edited at: 19th Sep 2009 20:00
either i am just being stupid, or it is just hard.
can anyone solve it?

A donkey and a mule were carrying sacks of apples.
the donkey groaned, so the mule said to him: "why are you complaining?
if you gave me one sack, i would have twice as many as you;
if i gave you one of my sacks, then we would have equal loads."
how many sacks was each carrying?


forever loading...
Sid Sinister
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 19th Sep 2009 20:06
Start by translating the story into equations. There will be two equations. One for the donkey, one for the mule. Then once you find the answer for one, you can plug it into the other.

"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
Current Project: http://strewnfield.wordpress.com/ (Last updated 06/11/09)
Happy Cheesecake
15
Years of Service
User Offline
Joined: 16th Jun 2009
Location: My non-vice-presidential refrigerator.
Posted: 19th Sep 2009 20:07
That sounds impossible to me.

Sometimes reading posts from Zeus or I will bring gut-wrenching laughter, drenched pants, and a full load of underwear.

READ AT YOUR OWN RISK!
jezza
17
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 19th Sep 2009 20:12 Edited at: 19th Sep 2009 20:12
Treat this as algebra.
let m be the original number of sacks the mule is carrying.
let d be the original number for the donkey

Quote: "if you gave me one sack, i would have twice as many as you; "

so
d+1 = 2(m-1)
multiplied out:
d+1 = 2m - 2

Quote: "if i gave you one of my sacks, then we would have equal loads.""

so
d-1 = m+1

Now we have simulataneous equations.
Lets rearrange the second, to
d = m+2
Now substitute this into the first equation for d:
(m+2)+1 = 2m - 2

Neaten it up
m+3 = 2m-2
m+5 = 2m
m = 5

Now we can use this to work out d:
d = m+2
d = 5+2
d = 7

So the donkey had 7 sacks, the mule 5.
QED

EDIT: Sid kinda beat me to it...

thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 19th Sep 2009 21:16
thank you! i had a dumb moment right there...


forever loading...
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Sep 2009 22:23
You sure you got it right Jezza? I got it was the donkey that had 5 and the mule had 7.

Sid Sinister
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 19th Sep 2009 23:20
Yup, Phaelax is right. Donkey 5, Mule 7.

"If I have seen a little further it is by standing on the shoulders of Giants" - Isaac Newton
Current Project: http://strewnfield.wordpress.com/ (Last updated 06/11/09)
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 19th Sep 2009 23:22
i did notice that... but now i get it. now, how about some people to help with newton physics?
just joking. sort of.


forever loading...
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Sep 2009 00:59
go ahead ask us!

thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 20th Sep 2009 01:09 Edited at: 20th Sep 2009 01:43
basically, I have tried and tried, but i just don't get newton. are there any tutorials that explain, step by step, how to get it to work? I have already searched, none of them actually explain every command.

I posted the same question here, in the dbpro boards, by the way:
http://forum.thegamecreators.com/?m=forum_view&t=158056&b=1


forever loading...
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Sep 2009 01:12
Oh I thought you meant newton's laws. I haven't used the physics package.

thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 20th Sep 2009 01:16
oh.


forever loading...
jezza
17
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 20th Sep 2009 13:59
I see where I went wrong. I thought the donkey was speaking, rather than the mule. Too much Shrek I suppose.

Login to post a reply

Server time is: 2025-05-26 00:13:40
Your offset time is: 2025-05-26 00:13:40