Questions tagged [expression]
The expression tag has no usage guidance.
11
questions
3
votes
4
answers
175
views
Replacing the heads of an expression in left to right order
I would like to replace the occurrences of the head f in an expression.
The expression only contains two possible heads: f and g.
These heads are applied to exactly two arguments.
Example:
...
0
votes
1
answer
65
views
1
vote
1
answer
120
views
Is it possible to get analytical solution to this system of first order non-linear ODE in Mathematica?
I would greatly appreciate help solving this system in Mathematica.
\begin{aligned}\frac{d\theta_{1}}{dt}&=\frac{G(r_s^{2}-1)}{4(r_s^{2}+1)}\sin2\theta_{1}\sin2\phi_{1},\\\\\frac{d\phi_{1}}{dt}&...
0
votes
2
answers
82
views
Plotting of an expression in Mathematica
I want to plot the below expression using Mathematica:
$\begin{aligned} \operatorname{Pr}(e)_{C S} & \leq \frac{1}{2} e^{-M k N_S\left(\sqrt{N_B+1}-\sqrt{N_B}\right)^2} \hspace{45pt} (1)\\ \end{...
1
vote
1
answer
59
views
String to expression does not work properly
Consider the following string:
string = "Displacement_0.5_ToDecVol_38_FidLength_50";
I would like to extract the three numbers from it: ...
-2
votes
1
answer
192
views
Mathematica doesn't evaluate an expression
I have such a code:
...
2
votes
1
answer
63
views
Arrange an expression based on variables' names
I have a problem of arranging an expression as shown in the following picture. The first expression exp is derived from other functions and equations. I want to get ...
1
vote
2
answers
84
views
Arrange an expression based on functions' names
I have a problem of arranging an expression as shown in the following picture. The first expression disorderF is derived from other functions and equations, which ...
1
vote
2
answers
62
views
How to reorganize a polynomial including exponents to the simplest form?
I want to reorganize a polynomial including exponents as the following Figure 1 to the form showing as Figure 2. Failed to realize it after several times trying such as Figure 3. Can you help me to ...
1
vote
1
answer
177
views
Testing a condition on an expression throughout a range [duplicate]
How can one test a condition on an expression throughout a range? My true expression is rather complicated, but consider this minimal example:
Is the function $2 - x^2$ positive throughout the range $...
2
votes
3
answers
207
views
Making an expression to Iceberg-like object?
Can we construct a function Iceberg,
which maps a given expression X to Iceberg[X]
satisfying 1. and 2. and 3. ?
1. From Iceberg[X],
it is not possible to inspect/extract a part of X with usual ...