I am looking for a function based on remaining time. To start with I can use a function which returns a value between [0,1] based on how much time is remaining to finish.
For eg: The total time for the event is 3 hrs i.e. 10,800,000 ms. At the start of the event the function should return value of 0. At half time i.e around 5,400,000 ms remaining time the function should return value of 0.5 at the end of the time i.e when few milli seconds are left, I should get a value close to 1.
i.e this can be a linear function.
I would appreciate if someone can point me in the right direction to model this simple problem. I am new to mathematical modelling.
Thanks!