Study of gradient effects on kinetic Alfven wave with inhomogeneous plasma