All Questions
Tagged with physics mathematical-optimization
20
questions
3
votes
1
answer
71
views
Peak Appearances in Plot Outputs from Optimization Routines
Dear fellow researchers and Mathematica enthusiasts,
I've been working on a computational physics problem and encountered an interesting issue regarding the appearance of peaks in my plots, which I ...
1
vote
2
answers
86
views
Color coding a parametric plot based on given conditions
This question is based on the answers provided here and here. Basically, I have the following Mathematica code to calculate the Lyapunov exponents as a function of Temperature:
...
2
votes
0
answers
122
views
Tracing the phases (i.e. the minima) of a potential
Is there a Mathematica package to trace the minima of a potential as a function of some parameter, returning its phase structure?
Working with particle physics models (in the context of cosmology and ...
0
votes
0
answers
54
views
Finding values of constants for which 1st and 2nd order derivatives of a function vanish
I'm trying to find critical values of some constants $v_c$ and $T_c$, for which holds the equality below:
$$\bigg(\frac{\partial P}{\partial v}\bigg)\biggr\rvert_{v=v_c,\; T=T_c}=0,\quad \bigg(\frac{\...
0
votes
0
answers
18
views
Using FindArgMax in NSolve with dependant variables
I have a function for a current through a series circuit containing a capacitor(c) and a resistor(r) and a battery(Ebatt) when the capacity increases from c0 to c.
...
0
votes
1
answer
153
views
Adopt Mathematica codes for circumscribed and inscribed ellipsoids to related sets
Users Daniel Huber and Dominic have provided an interesting answer each to the question JohnEllipsoids of constructing circumscribing and inscribing ellipsoids for a certain three-dimensional convex ...
2
votes
6
answers
462
views
Graph/Construct (John) ellipsoids circumscribing and inscribing a certain 3D convex set
A famous theorem JohnEllipsoids of Fritz John informs us that associated with a convex body are circumscribed and inscribed ellipsoids of minimal and maximal volumes.
Now, a body--argued to be convex ...
0
votes
2
answers
242
views
Is it possible to change the tick labels using string text by CustomTicks package?
I want to get a high-resolution figure using Mathmatica. However, the FrameTicks are too short, and thus I installed the CustomTicks package.
With its help, I can plot good ticks. However now a new ...
5
votes
0
answers
110
views
Effectivelly using Compile for calculate a Unitary transformation
I am new to Mathematica, and this is my first post, so if my question is not clear enough, I would be glad to read the comments and edit my question to add more information.
The problem
I need to ...
1
vote
0
answers
41
views
Find the (unique) 9-dimensional ellipsoid of maximum volume lying with the convex set of 4 x 4 symmetric, positive-definite (trace 1) matrices
Find the unique (JohnEllipsoid) maximum volume ellipsoid lying within the 9-dimensional convex set formed by the $4 \times 4$ symmetric, positive-definite ("density") matrices with fixed ...
1
vote
0
answers
37
views
Fitting Experimental Data To SRK-Type Equation of State. Minimization
I'm trying to find parameters to fit an EoS to saturation pressures to different temperatures.
My experimental data are like this
...
1
vote
1
answer
61
views
Finding maximum of a function of 2 variables
I have function defined in such way:
...
0
votes
1
answer
779
views
Animate particle's trajectory
Does anyone know how to animate the trajectory of a particle, but make sure before the particle reaching a certain spot, there's nothing. I mean I want to make an animation that look like https://en....
0
votes
1
answer
88
views
Finding the minimum points of a discrete trigonometric equation
Basically I'm trying to solve the equation
$$A\Big(\sin(\theta_a-\theta_{a+1}) + \sin(\theta_a-\theta_{a-1})\Big) + B\Big(n_a^z \sin(\theta_a) - n_a^x \cos(\theta_a)\Big) = 0$$
subjected to the ...
8
votes
1
answer
285
views
Is there any way to speed up this code that's Maximizing a function got from numerical integration?
I have this code below, which is calculating the Binding energy of an electron in a Quantum Well Wire with a hydrogenic impurity in it. Well you don't have to care much about what kind of calculation ...