Here's the question you clicked on:
am3dz
how one can convert real life time situations into functions mathematically?
It depends on the "real life situation." Calculus was developed because of real-world problems. . . I recommend researching the history of how Calculus came to be, if you're really that interested.
Try starting by breaking down the real life situation into smaller parts. What's happening to each part as the situation unfolds?