I'm pretty positive it could be done by creating a CABasicAnimation and tweaking either the valueFunction (from the CAPropertyAnimation superclass) or the timingFunction (from the CAAnimation superclass).
However I think you would have to make your equation a function of the time, but that is probably just basic math that I'm too busy/lazy to think about at the moment