title: How to write the "to the power" and some text like as shown in Java or Android?
body: <p>As in the images shown below, is it possible to write code to write "to the power" in Android or Java?</p>
  
  <p><img src="https://i.stack.imgur.com/Og5xG.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/2dmzl.png" alt="enter image description here"></p>