Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

p08: Eigenvalues of harmonic oscillator

−u′′+x2u=λu,x∈R-u'' + x^2 u = \lambda u, \qquad x \in \mathbb{R}

The exact eigenvalues are 1,2,5,7,…1,2,5,7,\ldots.

-------- N = 6 --------
    0.46147291699548
    7.49413462105052
    7.72091605300656
   28.83248377834010
-------- N = 12 --------
    0.97813728129860
    3.17160532064718
    4.45593529116678
    8.92452905811993
-------- N = 18 --------
    0.99997000149930
    3.00064406679582
    4.99259532440771
    7.03957189798150
-------- N = 24 --------
    0.99999999762904
    3.00000009841087
    4.99999796527329
    7.00002499815654
-------- N = 30 --------
    0.99999999999999
    3.00000000000074
    4.99999999997561
    7.00000000050862
-------- N = 36 --------
    0.99999999999998
    3.00000000000000
    4.99999999999999
    7.00000000000001