  Analytical expressions for the transition probability and the energy spectrum
of the 1D Schr\"odinger equation with position dependent mass are presented for
the triangular quantum barrier and quantum well. The transmission coefficient
is obtained by using the wave functions written in terms of the Airy's
functions and of the solutions of the Kummer's differential equation. In order
to show the validity of our analyze, an example by taking some numerical values
for GaAs heterostructure is presented.
