[ubuntu-mono] [Bug 716183] Re: Math is wrong on train problem
Marcel Stimberg
marcelcoding at googlemail.com
Thu Feb 10 21:37:42 UTC 2011
*** This bug is a duplicate of bug 710442 ***
https://bugs.launchpad.net/bugs/710442
Actually, I just noticed this has also been reported as bug #710442, I'm
therefore marking it as a duplicate. Sorry for the bug spam.
** This bug has been marked a duplicate of bug 710442
answer to question is wrong
* You can subscribe to bug 710442 by following this link: https://bugs.launchpad.net/ubuntu/+source/gbrainy/+bug/710442/+subscribe
--
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gbrainy in ubuntu.
https://bugs.launchpad.net/bugs/716183
Title:
Math is wrong on train problem
Status in GBrainy:
Unknown
Status in “gbrainy” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: gbrainy
Problem Text
A train leaves the station traveling at 35 mph. 4 hours later a second
train leaves the station traveling in the same direction at 55 mph.
How many hours does it take the second train to overtake the first
train?
Correct answer:
The first train has traveled 4 hours at 35 mph, so it has a 140 mile
lead on the second train. The second train is going 55 mph, 20 mph
faster than the first train. So when the second train sets out from
the station, it will take 7 hours to travel the extra 140 miles and
catch up.
7 hours.
Program's answer
"Incorrect answer. The correct answer is 11. You can calculate the
answer multiplying the second train speed by the time and dividing it
by the difference of speeds."
Problem with the program's answer:
The program is multiplying the second train's speed by the time of the
headstart, which means the program is incorrectly giving the second
train the headstart, even though the first train was the one with the
headstart.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gbrainy 1.51-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic i686
NonfreeKernelModules: fglrx wl
Architecture: i386
Date: Wed Feb 9 18:40:11 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gbrainy
More information about the Ubuntu-mono
mailing list