How to show complicate math formulas ?

Hi,

Does it is possible to create calculator app with math expressions on the screen with sqrt or power symbols? 

Something like that https://play.google.com/store/apps/details?id=cz.hipercalc

I think it can achieve by use newWebView, HTML, JS and MathJax but may be is another way?