Questions tagged [toexpression]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
103 views

Problem when translating from LaTeX to Mathematica

I have a code in Python that makes some calculations for different reaction-diffusion equations. I am trying to let the user define the variables and parameters of the system. The problem is that, for ...
1
vote
2answers
61 views

Problem when reading a small number as a LaTeX input

I've got a String variable defined as b="4.0 \cdot 10^{-5}", which is clearly written as LaTeX input. The problem is that when I want to obtain the ...
0
votes
0answers
73 views

Creating new variable names, Symbol or ToExpression

One can create new variable names by Symbol : In[1] Table[Symbol["x"<>ToString[i]], {i,1,5}] Out[1] {x1,x2,x3,x4,x5} But it is also possible to ...