All Questions
Tagged with mathematica computational-mathematics
13
questions
1
vote
1
answer
73
views
Software which writes long math expressions in short form by detecting the patterns?
Is there any software which can detects the patterns in long math expression and collects them as sums and products in short form. I am working with some long expressions of the following forms. I ...
0
votes
0
answers
24
views
Efficient Mathematica Code for List Problem
Say we are given $f(m,n)=m \pm 2n + (-1)^n$ where $m>0, n>0$, $m$ as well as $n$ are integers. The problem is to generate a list of all the integers that will not be found in the list of values ...
2
votes
0
answers
44
views
How do we plot a domain wall between two strings?
Intuitively, an angular vector field $\theta(x)$ such as the following would describe a domain wall between two vortices/strings of opposite winding number.
I would like to draw this on a computer ...
-1
votes
1
answer
88
views
How to increase the accuracy of numerical results using mathematica [duplicate]
I'm solving nonlinear equations using Newton-type methods with very high accuracy using Mathematica. I found many research papers in which the numerical results are calculated with very high accuracy. ...
0
votes
1
answer
116
views
How to compute a Fourier series? [closed]
Consider the Fourier series
$$u(x,t)=\sum_{n=0}^\infty \frac{1}{n^2}e^{-n^2\pi^2t}\cos( n\pi x).$$
How can it be written in python (or other programming languages) to compute $u(x,t)$ as a function ...
3
votes
1
answer
99
views
Computational and mathematical physics Stationary action principle
This is a computational and mathematical physics problem that has me frustrated. Been trying for a few hours to no avail. Any help is appreciated
The functional is of the form:
$ I\left [ f \right ]=\...
0
votes
0
answers
51
views
How do I compute zeros of a function numerically?
Say I have a function h(x), so that:
g(x) < h(x) < f(x) or f(x) < h(x) < g(x)
How can I find the zeros of h(x) without knowing h(x)? I mean, numerically.
I know h(x) has 3 zeros. ...
1
vote
1
answer
63
views
If $p^{r + 1} - 1 > 5(p^r - 1)$, then is there a lower bound for $p$ and $r$?
If $$p^{r + 1} - 1 > 5(p^r - 1),$$ then is there a lower bound for $p$ (e.g., in terms of $r$) and $r$ (e.g., in terms of $p$)? Here, $p>1$ and $r \geq 1$.
I tried using WolframAlpha, but I do ...
0
votes
3
answers
1k
views
solve an implicit function
I have seen that an example of implicit function that can be solved only numerically is (solving for x knowing y):
$$
\sin(x) = y\cdot x
$$
I was wondering if the following function can also be ...
1
vote
1
answer
101
views
efficient mathematica code to reduce computational time
I have code to compute a sum over a product of two functions, and it is taking an unacceptably long time to calculate in Mathematica (a day). I am wondering if there is a mathematical way to ...
1
vote
0
answers
167
views
Using Orthogonal Collocation to solve Coupled Ordinary Differential Equations
I am trying to solve six first order coupled ODE's, two of these are associated with a heat balance of a catalyst pellet, and four are mass balances.
I have been trying to solve these equations using ...
3
votes
1
answer
898
views
Method For Constructing Self Referential Formulas Like Tupper's
Can anyone please explain exactly how formulas like Tupper's self referential formula can be constructed?
I'll like to see the reasoning behind the derivation of such formulas and the steps required ...
7
votes
2
answers
21k
views
Plot Y-Range on Mathematica
I have a plot that I would like to slightly manipulate in Mathematica. Here is the code I am entering:
Plot[{x, 2^x, log_2(x)}, {x, -1, 3}]
As you can see $x$, $2^x$, and $log_2(x)$ are all ...