Questions tagged [expression-form]
The expression-form tag has no summary.
29 questions
2
votes
3
answers
168
views
Rearranging terms of polynomials according to the constant coefficients
I have some polynomials on three variables and I want to gather terms with the same coefficients. For example
...
3
votes
1
answer
231
views
How to convert the string "A^0" into the expression Superscript[A,0]?
I'm looking for a procedural way to define a symbol for a variable, based on a string. For instance, ToExpression["A^B"] gives us ...
1
vote
2
answers
191
views
Conjugate symbol
Is there a way to make mathematica display Conjugate[z] as z* or something like that? It gets very verbose when there are multiple conjugates in an expression, it becomes hard to read.
2
votes
1
answer
164
views
Apply ReplaceAll to a whole notebook
I'm an avid tauist (tauday.com) and I don't like the fact that Mathematica displays equations with $\pi$ instead of $\tau=2\pi$. I know that I can "force" it to display $\tau$ by e.g.
...
1
vote
0
answers
62
views
PlotLegends parameter with subscript and multiple of other parameter in Mathematica
PlotLegends -> LineLegend[{Style[Subscript[ω, i] t == 0, Black]]
When I use this command in Mathematica 13.2, I get ...
2
votes
2
answers
193
views
Showing Real and Imaginary parts of a Complex expression without reordering
I know Mathematica has a strong tendency to reordering expressions, but this is too much and there must be a way. So I'll give you an extremely simple example.
I define this ...
1
vote
1
answer
145
views
What does Sin[2. x] mean? [closed]
I am working with a particularly long function that, when I want to evaluate it at a certain $x$, shows:
As you can see there are expressions herein of the form Sin[2. x] or Cos[2. x]. What do these ...
0
votes
1
answer
203
views
How to simplify complex Trigonometric expression in mathematica? [closed]
The expression which I need to simplify in mathematica into simplest form
...
3
votes
1
answer
369
views
How to Simplify safely
Mathematica often writes simplied expressions with -1 first followed by any variables (eg. -1+x).
However I want to write it as ...
3
votes
1
answer
92
views
Rationalizing only specific terms in an expression
How can I change an expression like
A = (-1. a)/(x + y) - (2.1 b)/(x + y) + 4.1 + 2. x + (3. r s)/(x + y)
so that -1. a becomes ...
1
vote
1
answer
84
views
InputField and TreeForm problem
I want to use the expression enter by the user and form the Tree,
so I did TreeForm[test] as the picture show but it's not working.
But if I do it manually, it works.
Can anyone explain to me why ...
0
votes
1
answer
124
views
Fullsimplify not working perfectly [closed]
Here I am using the below code for a simplification.
...
2
votes
1
answer
157
views
Converting an equation to the form $ax+by=c$
I have a linear equation that comes as a result of applying orthogonality on a non-homogeneous boundary condition with two unknowns $C_1$ and $C_2$. Can someone help me to express this equation in the ...
1
vote
0
answers
57
views
Canonical order for expressions that applied in Sort? [duplicate]
Sort[list] sorts the elements of list into canonical order.
As an example for sorting expressions: Sort[{y, x^2, x + y, y^3}] ...
1
vote
0
answers
226
views
ToExpression["string",TeXForm] doesn't work
I want to convert LaTeX equation to Mathematica code.
I want to use ToExpression["x", TeXForm] to input some equation in Mathematica.
However, my mathemtica doesn't ...