Hey guys,just wanted to know if there is a way to make java display an exponent?I need to display a polynomial x^3-x-1.For now i just wrote it as xE3-x-1 but i wanted to know if there is a way to make it print out x^3?
Printable View
Hey guys,just wanted to know if there is a way to make java display an exponent?I need to display a polynomial x^3-x-1.For now i just wrote it as xE3-x-1 but i wanted to know if there is a way to make it print out x^3?
Print out how? On the command line? In a GUI? Print out in what way? As a superscript?
Yes on the command line, and as a superscript.