# Best fit line to a function

Calculus Level 4

The slope of the best-fit line that passes through the origin for $f(x)=\dfrac{\sin x}{x}, \ x\in \left(0,\dfrac{\pi}{2}\right)$ can be written as $$\dfrac{a}{b\pi^c}$$, where $$\gcd (a,b)=1$$. Find $$a+b+c$$.


Clarification: The best-fit line is the line such that the sum of each error squared is minimized.

×