Friends! Help me come up with an algorithm for the following task:
It is necessary to programmatically repeat the behavior of the person sending the message, such as Twitter. There are, say, 100 ready messages. In the time of the beginning of the day one message leaves, at lunch time - 20 messages. From the beginning of the day until lunchtime, messages should be sent more and more often, and after dinner, the opposite. We get a look like a normal distribution.
How can this problem be described? Implementation is not important.
Thank.