| Algorithm 5. Fragment of the Python code: time variable dT definition. |
| # how long since we last calculated (dT definition) |
| now = time.time() # now = begining of application |
| # change in time (dT = ) |
| dT = now − self.last_time⋯# print (dT) |
| # save for next iteration |
| self.last_time = now |