Abstract
In this Letter, the Exp-function method with the aid of symbolic computational system Maple is used to obtain generalized solitary solutions and periodic solutions of a generalized Zakharov–Kuznetsov equation with variable coefficients. It is shown that the Exp-function method, with the help of symbolic computation, provides a powerful mathematical tool for solving other nonlinear evolution equations arising in mathematical physics.