There are many curve-smoothing algorithms, and I'm no expert, but here are my two cents. A person who does not…