The solution of a coupled system of nonlinear physical problems using the homotopy analysis method