Cubic and Quartic Functions