Skip to main content

All Questions

1 vote
1 answer
85 views

Find binary vector within fixed distance to reference vector that maximizes the number of distances to a set of vector that are below a threshold

Input: A binary reference vector $r$, a multi-set of binary vectors $S$, and a distance function d between binary vectors of equal length. Assume that $r$ and all vectors in $S$ have the same length. ...
B A's user avatar
  • 35
1 vote
2 answers
75 views

Find min value of a complex Root function [closed]

Could someone tell me how to obtain the min value of this function when lambda is between 0 and 1: ...
Jethro's user avatar
  • 11
0 votes
0 answers
65 views

extremum points

I'm trying to find Min and Max points of the polynomial below, but it seems that the expression is very complicated to mathematical, I've tried a numerical function, such as NMinimize, NRoots, Solve, ...
TTT's user avatar
  • 57
0 votes
2 answers
216 views

How to calculate the maximum value of $x $ which satisfy the conditions $g(x,y)=0$ and $f(x,y)>1$?

I have two functions $ f(x,y) $ and $ g(x,y) $ over the domains $ 1<x< 2$ and $0<y<\pi$. I use ContourPlot to ses those values of $(x,y)$ for which $g(...
math2021's user avatar
  • 749
2 votes
1 answer
115 views

ArgMin and NArgMin gives different result

Im doing the same problem with ArgMin and NArgMin, however NArgMin messes up the order of the solution. Given function: ...
maxgo2's user avatar
  • 145
5 votes
2 answers
317 views

Find maximum of the output from reduce

I am trying to reduce a function in two variables($n_1$ and $n_2$) whose domain is the set of Integers. I get a long list of pairs of values for these two variables(instead of a range). This could be ...
gaganso's user avatar
  • 295
2 votes
2 answers
670 views

Problem with Solve (Lagrange multiplier)

I'm trying to solve a simple maximization problem, which I can easily solve by hand using the Lagrangian method. I want to maximize UH subject to ...
Dominika's user avatar