0

微積分を使用する人々を支援するアプリがあり、x^2+(x^1/2)-4 のような方程式ではなく、実際の数学コードのように見せたいと考えています。プロジェクト内のコードは以下です。このトピックについて調査しましたが、明確な解決策がわかりません。ありがとう!

public class Limits extends Activity implements
    OnClickListener {
private static final int SWIPE_MIN_DISTANCE = 120;
private static final int SWIPE_MAX_OFF_PATH = 250;
private static final int SWIPE_THRESHOLD_VELOCITY = 200;
private GestureDetector gestureDetector;

View.OnTouchListener gestureListener;

String facts[] = {

//limits
"Find the limit as x approaches 0 of x^3+4x^2+6x+7",
"Find the limit as x approaches infinity of x/x^2",
"Find the limit as x approaches 3 of (x+3)^2/(x+6)",
"Find the limit as x approaches infinity of x^3/x",
"Find the limit as x approaches 3 of (x^2-6x+9)/(x-3)",
"Find the limit as x approaches 7 of 49x^2/7x",
"Find the limit as x approaches infinity of (2x^2-5x+3)/(x^2-7x+7)",
"Find the limit as x approaches 2 of (x − 2/x^2 − 19x + 34)",
"Find the limit as x approaches 6 of ((|x-6|)/(x-6))",

};

4

1 に答える 1

0

HTML を使用してみてください:

Html.fromHtml("X<sup>2</sup>")
于 2012-11-30T17:22:19.077 に答える