quartic functions