Using Newton's divided polynomial to solve multi-choice programming problem | Synapse