Formula does not show superscript character

Solution 1:

Instead of superscripting the normal 2, use the dedicated character, which is common to most fonts. Windows character map