Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在android上将乳胶代码转换为wolfram,但我不知道该怎么做,有人可以帮我吗?
使用 ToExpression
expr = ToExpression["y=\\sin(x)+\\cos(x)", TeXForm]
现在你可以在 notebook 中使用 expr
expr /. x -> Pi
另一个例子
expr = ToExpression["\\int_a^b \\sin (x) \, dx", TeXForm]
但请注意,Mathematica 对 TeXForm 进行了评估,Integrate但继续进行并评估了积分。
Integrate