Some simple quantum mechanical calculations for semiconductor heterostructures