Unfortunately this is only a temporary solution:
<math>\sqrt{a^2+b^2}</math> <math>\sqrt{a^2+b^3}</math>
Hmmmm.