Skip to main content

Questions tagged [expression]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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: ...
ExpressionCoder's user avatar
0 votes
1 answer
48 views

Please help to use ContourPlot for the locus (y - x^2) (y - 2 x^2) == 0. If I build the expression by hand, it shows nothing

My code is as follows: ...
Coti's user avatar
  • 31
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}&...
Diffeomorphismus's user avatar
0 votes
2 answers
80 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{...
Sagar's user avatar
  • 11
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: ...
John Taylor's user avatar
  • 5,851
-2 votes
1 answer
189 views

Mathematica doesn't evaluate an expression

I have such a code: ...
Cpp Nosavvier's user avatar
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 ...
likehust's user avatar
  • 693
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 ...
likehust's user avatar
  • 693
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 ...
likehust's user avatar
  • 693
1 vote
1 answer
175 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 $...
David G. Stork's user avatar
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 ...
imida k's user avatar
  • 4,315