AFAIK, there are two basic type of linear regression:
y=ax+b and y=a2 + bx + c
But I have to do the same with the function y = asin(x)+bcos(x).
Here is what I have done:
We have:
\begin{array}{l}
\frac{{\partial L}}{{\partial a}} = 0
\frac{{\partial L}}{{\partial b}} = 0Continue...