[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I'm playing a game where you have to drive to a destination
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /adv/ - Advice

Thread replies: 7
Thread images: 2
File: math.jpg (102 KB, 578x325) Image search: [Google]
math.jpg
102 KB, 578x325
I'm playing a game where you have to drive to a destination (let's call it Vegas).
>you get 0.5 points per mile traveled (d/2)
>you can take various routes, some longer and some shorter
>you have 1000 hours to do it, and every hour spent traveling subtracts from your bonus
>your car can travel at 30, 45, or 60 mph

So, for example, if I get to Vegas within 3000 miles and take 400 hours, I would get 2100 points (3000/2) + (1000-400) = 2100.

Would there ever be a situation where I get more points for getting to Vegas in less time, or is it always better to take the longest route?
>>
File: 1457052662227.png (129 KB, 600x465) Image search: [Google]
1457052662227.png
129 KB, 600x465
>>16896971
Linear algebra is your friend.
>>
>>16897050
I have no idea how to do that fampai, I studied psychology
>>
>>16897119
And that's why you play stupid games instead of doing actual work.
>>
So your basic formula is (d/2) + (1000-h). You have to factor in the speed but I can't remember how to do that, high school was a long time ago
>>
>>16897119
>>16897139

And to actually answer your question: you get at minimum (30*0.5) -1= 14 points per hour or at max (60*0.5) -1 = 29 points per hour, so you would always want to maximize drive time (and distance) to maximize points, with preference on high-speed highways.
>>
>>16897144
Sorry, I just now realized that the 1000 points were a bonus, and not just subtracted from your base score. Either way, you gain between 15 and 30 points per hour and lose only 1, so you still want to drive as long as possible.
Thread replies: 7
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.