Bound state solution of the Schrödinger equation at finite temperature