Numerical study of drift-Alfvén waves in a sheared magnetic field