ScratchData LogoScratchData
Back to scratchtc3's profile

Solve the car problem

SCscratchtc3•Created November 7, 2017
Solve the car problem
0
0
8 views
View on Scratch

Instructions

Press space. Enter a number. (multiple of 60 is nice, but it will round to a multiple of 60) Hit enter. Thanks to @HypotheticalMath for the original problem/question

Description

I made this in response to a problem my friend gave me: Two cars are in a race. Car A travels at 60 mph, stopping every hour for an hour. Car B travels at 30 mph, stopping every 2 hours for an hour. Who will win the race? Being 8:00 in the morning and in a car, I decided to make a program that does the math for me after school. (I actually solved it during school, but decided to make a program to check my work anyway.) The conclusion is that if we factor in the stops, Car A travels at an average of 30 mph, and Car B travels at an average of 20 mph.

Project Details

Project ID184634710
CreatedNovember 7, 2017
Last ModifiedNovember 8, 2017
SharedNovember 7, 2017
Visibilityvisible
CommentsAllowed