Create equationsFunc