Is the time it takes you to run a 100-meter race a function of the speed you run?

Yes, the time it takes to run a 100-meter race is a function of the speed at which you run. As your speed increases, the time it takes to complete the race decreases.