1. A method for generating a higher order compensated bandgap voltage, the method comprising: generating a first order compensated bandgap voltage; generating a linearly temperature dependent voltage; generating a difference voltage based on the difference between the linearly temperature dependent voltage and the first order compensated bandgap voltage; squaring the difference voltage to create a squared voltage; and adding the squared voltage to the first order compensated bandgap voltage.