All Questions
Tagged with equation-solving mathematical-optimization
211
questions
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
66
views
`Minimize` with conditions on `Integers` does not find a correct answer
I want to find the minimum m which satisfies conditions as below:
Minimize[{m, m > 0 && Mod[m 3.1, 0.5] == 0}, m, Integers]
(* {1., {m -> 1}} *)
...
1
vote
1
answer
88
views
Plot "Findroot" with very complex variables
I ran into an extremely complex "zero problem" and don't know how to solve and plot it. Can anyone help with this, please? [Pi]s and [Pi]r are objective functions, pd, po, qd, qo, and [Phi] (...
2
votes
0
answers
59
views
How to find the regions for which the derivative of my function changes sign?
I have an energy function of the angles of the electrons' spins. th1 is vector with (2l+2) elements and each element represents the angle of an individual electron spin. I need to eventually find the ...
10
votes
2
answers
1k
views
Problem with optimal control and Pontryagin's maximum principle
For dynamic system:
$\dot{x}=\frac{df}{dx}+u$
where $f=e^{-x^2}$
It is necessary to develop optimal control, minimizing criterion:
$J= \int_{0}^{t_f} ((\frac{df}{dx})^2+u^2) \,dt $
Algorithm:
We ...
1
vote
1
answer
99
views
Optimization of second order ODE with more than one parameter
I want to optimize a second order ODE with more than one variable:
...
0
votes
0
answers
45
views
can not replace when use ctrl+f
I have a very long output, therefore, I want to find and replace some repeated expressions with abbreviations using crtl +f in Mathematica. when I enter expressions, the mathematical can find it and ...
0
votes
1
answer
129
views
How to solve two implicit functions with two variables and parameters
I have two functions given as;
u[c_,d_] := Sinh[a b^2 c^2 + 3a b d] and v[c_,d_] := Log[a b^2 c^2 + 3a b d + d^2] - d. I want ...
1
vote
1
answer
75
views
Using ContourPlot3D to fine the local extrema of a 3D function
This answer shows a neat way of using ContourPlot and MeshFunctions to find the local extrema of a 2D function: the ...
0
votes
0
answers
39
views
Assume some expression is false
I need to Reduce a complicated function and I want to exclude some conditions A and B. How do I assume that the expression A is ...
2
votes
2
answers
219
views
Minimization using NMinimize
I have a system of ODEs say
$$x'(t)=2 x(t)-x(t)y(t)-3 x(t) g(t),$$
$$y'(t)= y(t)-2 x(t)y(t)- x(t) g(t)$$
with ICs $x(0)= 1, y(0)=1/2$, say, for $t_0 \leqslant t \leqslant t_f$, where $t_0$ and $t_f$ ...
1
vote
1
answer
73
views
Finding the joint domain for a couple of functions of three variables
I have two functions $f_{1}(x,y,z)$ and $f_{2}(x,y,z)$ defined respectively as
...
0
votes
0
answers
29
views
NArgMin with Root functions
I'm trying to minimize an error function sumt to find some parameters S, s0, si :
...
0
votes
0
answers
65
views
Fit, NIntegrate in FindRoot results in non-numerical values
I'm trying to find certain values of q for which the derivative of the following function is equal to zero:
...
0
votes
0
answers
47
views
NMinimize subject to many complicated conditions not obbeying imposed equation
This question derives from (and refers to) this one asked by me, and I hope that creating a new question rather than editing that one is appropriate. There I ask for a way to find the subset of the ...