Questions tagged [expression-form]

The tag has no usage guidance.

15 questions
Filter by
Sorted by
Tagged with
19 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 ...
545 views

How can I obtain a complete list of the kinds of atomic expressions in the Wolfram Language using only the language itself?

I mean, Wolfram is a language--it's words are infinitely combinable. According to answers to my last question, the only way I can find out if an expression is atomic is actually use the expression. ...
111 views

What's the difference between 56 and Integer? [duplicate]

I'm trying to grasp how to Wolfram Language uses symbolic expressions for everything. The concept of doing so makes sense to me, but the language doesn't behave how I predict. I understand how ...
66 views

Find the number of true's in a TrueQ expression

How can I find how many times the code: Table[TrueQ[FractionalPart[Sqrt[n]] == 0], {n, 1, m, 1}] Gives the value True back for a variable $m$? So, we know that ...
90 views

How to simplify an expression by substitution?

Sometime Solve and DSolve give a finial form of the solution, which is fine in may applications. However, in some cases, one may ...
44 views

How do I force a fractional coefficient to exclude non-numeric symbols?

Short version of question: Suppose I have an expression: expression = a+3b; When I divide by 2, I get: expression/2 It is ...
70 views

SubsuperscriptBox and SuperStar

I have a notational reason (using the Notations package) to have some symbols display as C*60 (with the 60 lined up under the *). Internally, this is represented in Mathematica as: ...
51 views

How to get a logical expression instead of a value [closed]

Suppose I want to write out the terms of the binomial distribution: Sum[ Binomial[n, k] q^k (1 - q)^(n - k), {k, 0, n} ] This obviously gives me 1, however I ...
53 views

Make two expressions look alike OR check that they are the same

I would like to compare my Mathematica calulations with the results from a paper. I get: ...
135 views

How can Mathematica take a prefactor in front of the relation

I have the following term in an expression $$\frac{q_B' \sin2q_B}{P_B Q_B^2}(2 Q_B P_B - \sin^2 q_B \Pi_B) q_1 q_1'$$ the prime denotes differentiation w.r.t a coordinate. Some additional ...
59 views

How to send Map[Plus[1, #] &, {1, 2, 3}] to Mathematica from C# via IKernelLink?

Here is a piece of my code ...
219 views

Determine whether some expression contains a symbol doing nothing?

I have expression like this: expr = xuyz; then Head[expr] = xuyz But I wanted the product of four factors, so it should ...
41 views

How to derive closed-form expression for a variable in an equation? [duplicate]

I have an equation $q = \frac{f + 2 f^2 + 3 f^3}{1 + 2 f + 3 f^2 + 4 f^3}$ and want Mathematica to derive a closed-form expression for real solution to $f$. I've tried running the following code: <...