Editing curves for timelines by analytical expression instead of manual

This article explain how to edit timeline curve by hand:

however, i have scientific background, and i would much prefer to create and use a curve using analytical expressions - i want my sine’s and exps and logs and gauss-likes and all the galore of S curves

the big question is, how to do that?