Newest Questions
97,721 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
2
answers
35
views
How can I include all terms within a sum? [duplicate]
I would like to include terms that factorize a sum within the sum.
For instance, from
k Sum[Subscript[x, i], {i, 1, L}]
getting
...
2
votes
2
answers
52
views
How can I append data to a file with tab-separated values?
I'm producing a lot of data which I want to save to a file in tab-separated format:
$\begin{matrix}x_1&&f(x_1)\\x_2&&f(x_2)\\x_3&&f(x_3)\\&\ldots\end{matrix}$
I'd like ...
0
votes
0
answers
75
views
NMinimize apparently enters an infinite loop
I've stumbled across what seems to be a weird interaction of the NMinimize function.
I'm minimising the function -Log[Sin[2x]] + a Cos[x]^2 for 0ドル < x < \pi/2$...
1
vote
0
answers
55
views
How to simply change filled-in marker with empty circles in the given code?
I use this code
p1 = Graphics[{PointSize[0.05], Red, Point[{{4, 0}, {7, 0}}]}];
p2 = Plot[Sin[x], {x, 0, 10}, PlotRange -> {-2, 2}];
Show[{p1, p2}]
which gives ...
2
votes
1
answer
167
views
Converting a list of a function in Mathematica
Assume that I define:
...
6
votes
1
answer
176
views
Feature Extractor for Molecules
Running FeatureSpacePlot[mols] gives me an interesting plot and I would like to understand the method.
Does anyone know or can point me to a reference page on how ...
3
votes
1
answer
143
views
Is RarerProbability useful with asymmetrical distributions?
The documentation clearly states that for the symmetrical normal distribution RarerProbability[distribution,x] gives the two-sided p-value for x.
Using direct ...
2
votes
1
answer
105
views
Integration of function involving ArcCsc with assumptions returns wrong answer
When I ask Mathematica (version 14.1) to do the following symbolic integration:
...
1
vote
0
answers
50
views
How to make a Framed PlotLabel span the exact width of the plot Frame?
I am trying to add a title with a background color to my plot. Currently, using Framed inside PlotLabel only creates a box around the text itself.
I want the background box of the title to:
Span the ...
1
vote
0
answers
56
views
ToRules that preserves conditions that cannot be written as Rules
I would love to have a ToRules that can act on say Reduce output that preserves conditions that cannot be written as rules. Something that creates something like
...
0
votes
0
answers
57
views
The heat conduction equation of solar cells can't be solved [duplicate]
The heat conduction equation of solar cells can't be solved. NDSolveValue::ndnum: Encountered non-numerical value for a derivative at x == 0. ...
3
votes
1
answer
93
views
How to preserve tooltips for SVG Maps created by Mathematica?
I want to produce an SVG map by Mathematica that preserves tooltips that are in Mathematica so that they are also in the SVG. The problem is that the tooltips do not export.
Here is an example:
That ...
2
votes
2
answers
121
views
Define meaning for symbol such as ⇓ despite 'Incomplete expression; more input is needed'
Example
The notation $a\Downarrow_bc$ can mean something like "the program $a$ results in $c$ when executed according to the semantics of $b$".
In Mathematica, I input this as ...
8
votes
0
answers
145
views
CollinearPoints returning True for noncollinear points
I think there might be an issue with CollinearPoints at least in the 14.2 Windows version I'm using. The issue arises where there are duplicate points and mixed ...
3
votes
2
answers
120
views
Matching an expression in Hold
Trying to replace some of the expressions wrapped by Hold as below to get $\frac{k d\theta }{dt},ドル ReplaceAll does not replacing ...
3
votes
2
answers
285
views
Mathematica does not give me any contour here
I would like to have an idea what kind of curbe is being formed from the intersection of the plane $x+y+z=9$ with the surface
$\sqrt{16-x^2}+\sqrt{25-y^2}+\sqrt{36-z^2}=12$ under the restriction $x,y,...
-1
votes
0
answers
109
views
We cannot numerically solve the heat conduction equation of solar cells, where Q is the heat generation term [closed]
The heat conduction equation of solar cells cann't be solved. NDSolveValue::ndnum: Encountered non-numerical value for a derivative at x == 0.`. NDSolveValue::femcnsd: The PDE coefficient -((2.4810^-...
0
votes
0
answers
32
views
StreamPlot doesn't plot symmetrically [duplicate]
StreamPlot doesn't plot symmetrically e.g. StreamPlot[{x, y}, {x, -1, 1}, {y, -1, 1}]. How to make it symmetric about x=0?
1
vote
1
answer
99
views
Using Partial derivative notation as a symbol
How to let the partial derivative notation \[PartialD] in an input cell have no built-in meaning, like \[DifferentialD] ? When ...
3
votes
1
answer
160
views
Mathematica ODE question
I am trying to solve an iterative matrix ODE of the form $f_k'(x)=T.f_k(x)+B(x)*S.f_{k-1}(x),ドル where f is an $n$ dimension column, T and S are $n \times n$ matrices, and $B(x)$ is a function. The ...
4
votes
2
answers
211
views
How to find x ranges where a function is one-to-one and its output is in a given range?
I have a list of functions like this:
...
0
votes
0
answers
69
views
Verify a first integral of a complicated ODE symbolically
I have an ODE of the form:
y^{(4)}[x]==F[y^{(3)}[x],y''[x],y'[x],y[x]]
for some complicated (but explicit) $F$ -- the exact form isn't really relevant to the ...
2
votes
2
answers
188
views
In a nested, ragged list, pairing each element of one sublist with each element of another
This may be a silly question, and if it is, I'm willing to withdraw it. I have a list of lists myInitialList. I wish to write a function to transform ...
5
votes
0
answers
68
views
Is it possible to modify the evaluation timestamp format?
There's an option in the options inspector to display a timestamp upon evaluation of a cell: Notebook Options → Evaluation Options → EvaluationCompletionAction → AddTimeStamp. That causes the date and ...
6
votes
1
answer
217
views
Is it valid for DSolve to return Indeterminate as a solution to a differential equation?
In V 14.3
Quit[]
ode=2*y[x]*D[y[x],{x,2}]==1+D[y[x],x]^2;
DSolve[ode,y[x],x,IncludeSingularSolutions->True]
Gives
Is it valid for DSolve to return ...
4
votes
1
answer
143
views
How to Simplify 'unordered' lists of expressions
Say I have a list containing some expressions, for instance
...
3
votes
0
answers
132
views
Timing inside a compiled function?
I want to have multiple timings inside a compiled code. However, it turns our that AbsoluteTime[] does not work:
...
17
votes
1
answer
601
views
How are people using the Notebook Assistant and how useful is it?
This is more of a community question than an answerable problem. If it's out of bounds I'll be happy to withdraw it. But, one year out, I'm curious as to other WL users' experiences with the ...
1
vote
1
answer
119
views
$LLL$ implementation complexity in wolfram mathematica
$LLL$ is implemented in Wolfram Mathematica as $\mathsf{LatticeReduce}$ command. If we want to reduce a rank $k\leq n$ lattice in $\mathbb Z^n$ where the generator matrix of the lattice has integral ...