Problem:
There was a one-meter-long wooden rod drifting on the sea, suddenly dropping 100 ants from the sky. Fortunately, they all fell on this wooden rod, (the positions they land on the sticks are random ). However, unfortunately,
All the ants walk at a random speed of 1 cm/s in one direction from the moment they land. When two ants touch each other, they immediately walk in the opposite direction. Once an ant arrives at a wooden stick, the ant will fall into the sea. Now, how long does it take to ensure that all the ants are swimming in the sea?
Answer:
The process is as follows:
1. First understand the question
2. Then, create a mathematical model based on the question to solve the problem.
Basically, the time spent on 1 is very small, and we often spend most of our time building a model of the problem, everything from the simplest y = a * x + B is complicated. But sometimes we can see blood with a single shot, but we need to cut it with a blunt knife. This question is not so simple to create a mathematical model. There are numerous and collision problems. We need to use complicated mathematics to create a model. However, if you work hard on 1, you can find a more direct method:
The two ants return after collision, which is equivalent to moving them forward through the other side. If ant financial's difference is ignored, we can see that the two situations are the same. For the latter, it is easy to find that the longest time is the time when an ant starts from the beginning to the end: 5 minutes.