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?
>>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.