Now used equation.m to write the equations.