Using a recently developed technique to solve Schrödinger equation for constant mass, we studied the regime in which mass varies with position i.e position dependent mass Schrödinger equation(PDMSE). We obtained an analytical solution for the PDMSE and applied our approach to study a position dependent mass m(x) particle scattered by a potential V(x). We also studied the structural analogy between PDMSE and two-level atomic system interacting with a classical field. PACS numbers: 03.65.Ge; 03.65.Fd; 03.65.-w Schrödinger equation with position dependent mass is one of the areas of research which has gained great attention in the past decades. Position-dependent mass Schrödinger equation(PDMSE) has been applied to several physical systems. For example PDMSE is applied in electronic properties of semiconductors [1], quantum dots and quantum wells [2, 3], semiconductors heterostructures [4], supper-lattice band structures [5], He-Clusters [6] quantum liquids [7], the dependence of energy gap on magnetic field in semiconductor nano-scale rings [8], the solid state problem with Dirac equation [9]etc. One of the motivation behind investigating these system with position dependent mass is, how do these mass variation effects the dynamics of the quantum-mechanical system. In such systems the energy is described by a Hamiltonian which contains the kinetic energy and the potential energy opeators H = T + V , where special care is taken for the kinetic term.O. von Roos [10] was the first to suggest the following generalized form of the kinetic energy operator for position-dependent mass modelwhere m = m(r) is the position-dependent mass. The constants η, and ρ, which are also knows as the von Roos ambiguity parameters can be assumed to be arbitrary but they obey the constraint equation η + + ρ = −1. Before von Roos several forms of operator T has been used to solve this problem [11][12][13][14]. Different approaches have been used to find analytical solution to PDMSE like point-canonical transformation [15], Green's function [16], Heun equation [17, 18], Group-Theoretical method [19], potential algebra [20], Lie-algebraic [21] and supersymmetric [22] approach etc. In this Brief Report, we obtained an analytical solution for the position dependent mass Schrödinger equation with general mass variation m(x) by transforming the PDMSE to Riccati equation. Analytical solution for Schrödinger equation with constant mass, beyond adiabatic approximation, has been recently investigated extensively [23] where we applied our approach to 1-D [23] and 3-D [24] scattering problem and showed that our method gives better accuracy than the well-known JWKB method. Here in this article we have extended that approach to variable mass regime and obtained very accurate results for PDMSE. The main result of this paper is the analytical solution given by Eq. (19). To illustrate how well our method works we considered a position dependent mass m(x) particle scattered by potential V (x) and obtained the wave function for 1D case (which could easily be...