The simplest way to the answer this question is – we give the data and equation to the machine. Ask to the machine look at the data and identify to the coefficient values in an equations.
For example for the linear regression y=mx+c, we give the data for variable x, y and the machine learns about to the values of m and c from to the data.