## Excel in math and science

### Master concepts by solving fun, challenging problems.

## It's hard to learn from lectures and videos

### Learn more effectively through short, conceptual quizzes.

## Our wiki is made for math and science

###
Master advanced concepts through explanations,

examples, and problems from the community.

## Used and loved by 4 million people

###
Learn from a vibrant community of students and enthusiasts,

including olympiad champions, researchers, and professionals.

## Comments

Sort by:

TopNewest\[\]To obtain \(r\) and \(K\) that minimizes \(\,J\), you just take derivative of \(\,J\) with respect to \(r\) and \(K\) and then set equal to \(0\). This technique is called minimizing the mean square error (

MSE) or chi-squared (\(\;\chi^2\)) minimization.\[\] \[ \begin{align} \frac{\partial J}{\partial r}&=0\tag1\\ \frac{\partial J}{\partial K}&=0.\tag2 \end{align} \] \[\]Next, plug in data in the table and solve those two non-linear equations. You can use either Newton-Raphson, Steffenson, or secant method. Of course you should use computer program like Matlab, SAS, R, etc to help you solve \(\,(1)\) and \(\,(2)\). – Tunk-Fey Ariawan · 3 years, 3 months agoLog in to reply