/QWFIntervall [ module ]

[ Top ] [ module ]

NAME

QTransferMatrix

AUTHOR

W. Hergert

PACKAGE

QPack.m

MODIFICATION HISTORY

April 2013 : New formulation for the book "Einfuehrung in die Quantphysik"

USAGE

QTransferMatrix[x_,v_,vl_,vr_] plots a piecewise constant or linear potetential

INPUT

vl : constant potential on the left hand side vr : constant potential on the right hand side x : list of points, defining the intervalls in the potentials {x1,x2,...xN} v : list of potential values vi at the points xi

OUTPUT

plot of the potential

ERROR MESSAGES

if lists x and v have different length or symbols appear in the input if options "linear", "constant" are not correct

OPTIONS

QPlotRange : length of constant potential at the left and right hand side QPotential : "constant" - piecewise constant potential

               "linear"   - piecewise linear potential 

DESCRIPTION see source code

LITERATURE

TODO

PROBLEMS

SOURCE

41 QWFIntervall[k_,xl_,c_] := c[[1]] Exp[k*(x-xl)]+c[[2]] Exp[-k*(x-xl)]