How To Calculate A Cubic Function