The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
86 views

Only one root at specific interval

I need a help to find k here: $f(x)=-k^x + x^2$ It is not too simple. I have interest to find the single value of "k" where, inside interval {x,2,3}, the function have only one value to x when f(x) ...
0
votes
1answer
29 views

Finding Coordinates of a Peak on a Pot - Problem with Position[…]

I have plotted a graph from a CSV file which consists of two columns of data Time and Intensity. I simply want to find the time where the intensity is largest. ...
0
votes
0answers
54 views

How to find Multiple Maxima/Minima

I am trying to solve a problem that requires finding multiple maxima of a numerical function. So the function generates some numbers that are coming out of an experiment. I tried using NMaximize or ...
1
vote
2answers
64 views

Find maximum of 'y' coordinates from a list of duplicate 'x' coordinates

I have a multidimensional-variable list, suppose for example {{x1,y1},{x2,y2}..}. I have duplicate values for the 'x' coordinates and I need to find for the duplicate 'x' elements the corresponding ...
2
votes
1answer
44 views

ArgMax and result readability

Trying to maximize a two-variable expression and to get variables' values at maximum points: ...
1
vote
2answers
74 views

Performance in calculating maximum-likelihood- based estimates

My probability density function is a complicated one for which numerical estimation is necessary. Here my pdf: ...
18
votes
2answers
333 views

Maximize[Cos[x - 1], x] is not evaluated

No explanation needed: Maximize[Cos[x + 1], x] Maximize[Cos[x - 1], x] producing ...
0
votes
1answer
60 views

Why `FindMaximum` doesn't work in my example

Consider the following function ...
1
vote
2answers
91 views

Incorporating the minimum and maximum of the function in a Dynamic plot

I'm working on my project for class and it's supposed to be a graph that can take functions from the user and display it along with finding the max and min of the graph. But I just don't know how to ...
0
votes
1answer
102 views

Graphic solution lagrange multiplier (cant get one)

I need to find the maxima and minim of a function. I did analytically with no problem but now I need to show in a graphic the intersection of the functions. My function is: ...
1
vote
1answer
78 views

Maximising solutions of NDSolve [duplicate]

I have the following system of differential equations ...
2
votes
2answers
182 views

Maximize simple Polynom: Wrong answer

I want to maximize $poly$ under the constraints $g1,g2,g3=0$ ...
0
votes
1answer
93 views

Defining some function [closed]

Please help me with the following problem. For any function $f(u)$ I simply define function $f^*(x)$ as follows $$f^*(x)=\sup_{0\leq u\leq x}f(u)$$ How can I define $f^*$ using Mathematica code?
2
votes
4answers
236 views

How do I find the position of the maximum value in each column of a table?

Given a table of values, I know how to find find maximum values, but how do I find the position of the maximum value in each column. For example, given ...
2
votes
4answers
173 views

Problem in finding the numerical maximum

I need to find the numerical maxima of the function $$i(s)=\bigg[ \frac{\sin{50\pi (\cos s+1)}}{\sin{10\pi (\cos s+1)}} \bigg] ^2$$ Or in the mathematica input form: ...
0
votes
2answers
142 views

Maximizing a trigonometric function

This is probably a naive question, but here it goes: I know that $$r\cos a+s\cos b+t\cos c \leq \frac{rs}{2t}+\frac{rt}{2s}+\frac{ts}{2r},$$ subject to the conditions $a+b+c=\pi$ and $r,s,t$ are ...
4
votes
1answer
119 views

How can I find the greatest of this expression?

I want to find the greatest of the expression $$P=a \sqrt{12-b}+\sqrt{b\left(12+a^2\right)}+66\sqrt{a^2+b+3}-\left(a^2+b\right)^2$$ with $a >0$, $0<b\leq 12$. I tried ...
9
votes
3answers
369 views

Maximize violating constraints

I have Maximize[{(h*10)/(300*(100 - (l^.5 + d^.4 + H^.6))), (l + d + H + h) == 669, l > 0, d > 0, H > 0, h > 0}, {h, l, d, H}] I believe ...
12
votes
2answers
867 views

Find maximum value of interpolation function - obviously wrong result

Minimizing and maximizing interpolation function has already been asked and answered, see here for example. Yet, I observe a strange behaviour. Well, I can understand that the wrong guess of ...
1
vote
3answers
243 views

Finding maximum value with position from Table of values

I have this table of values, how do I find the maximum value? i.e. find $z_{max}(x,y)$ ...
-1
votes
1answer
134 views

Finding the maximum of a gradient vector

Im trying to find the maximum of my gradient vector G[x,y], I've tried several options including FindMaximumValue, FindMaximum etc. but i couldn't find it. The full function is shown below, any help ...
0
votes
1answer
252 views

Finding all maxima and minima of a function

To find all (global and local) extrema of a function in R3 I have written: Example-function ...
0
votes
3answers
150 views

Why does Maximize return a wrong answer?

I want to find the maximum of the following function, but get a wrong result. What am I doing wrong? ...
0
votes
2answers
161 views

How to find a max point from discrete data of function?

I have a lot of points like $\{\{x_1,y_1,z_1\},\{x_2,y_2,z_2\},...,\{x_n,y_n,z_n\}\}$ which obtained by a function $z=f[x,y]$, and I want to find the max point of $z$, say $z_i$, and return the point ...
2
votes
1answer
47 views

Results of ArgMax as a function of a parameter with InterpolatingFunctions

I would like to obtain a function and its derivatives, where the function is defined as the solution to a maximization problem. The obvious approach ...
0
votes
0answers
98 views

How do I find where the maximum is?

I have a function given by: ...
1
vote
1answer
309 views

How to find the local maximum of a list [duplicate]

I have imported a wav sound that a = Import["sound.wav"] and we know that soundStrength = a[[1]][[1]] is a list of sound ...
1
vote
1answer
72 views

Moving the start of a graph to the right, finding maxima in an oscillator

I have the following code written to simulate a driven damped oscillator ...
3
votes
3answers
161 views

FindRoot constrained to maximum

I am using FindRoot to find the local maximum op some function, by examining where its derivative is zero. However, keeping the starting value the same, sometimes ...
0
votes
0answers
72 views

NMaximize issue and regularization

I want to maximize over the space (output of NDSolve, in appendix to the question) but I do not think this is strictly important in this case), to get the maxima of the solution as a function of time: ...
2
votes
1answer
248 views

Finding the optimal teams ranking based on the table of match results

My original question was this: So my task is to score all the possible rankings of the 14 SEC football teams and find the best one, using who won in head-to-head games as the sole criterion ...
3
votes
2answers
201 views

How to find the maximum of this function on the positive real line?

I need to maximize this function on the positive real line: $$ \frac{1}{\Gamma(x)^{14}}\cdot\frac{1}{{\frac{323.6}{14x}}^{14x}}\cdot(1.22578*10^{19})^{x-1}e^{-14x} $$ the correct answer should be ...
0
votes
0answers
139 views

Maximum of NDSolve output. Problem with interpolating function

I solve a NonLinear PDE and get a solution (which for other reasons I put into a vector): SolVec1[1][[2]][x,t], where x and t are the indipendent variables. Now, I would like to get a distribution ...
16
votes
4answers
1k views

Moving maximum function?

How can I construct a moving maximum function? For example, if I have a list of 12 values: { 5, 6, 9, 3, 2, 6, 7, 8, 1, 1, 4, 7 } and I want to maximize over 3 ...