47 reputation
6
bio website sanderheinsalu.com
location
age
visits member for 1 year, 5 months
seen May 29 at 0:33

Apr
15
accepted Results of ArgMax as a function of a parameter with InterpolatingFunctions
Apr
15
asked Results of ArgMax as a function of a parameter with InterpolatingFunctions
Feb
28
awarded  Commentator
Mar
14
revised Integration gives ComplexInfinity when it shouldn't
Added my attempts to bypass the problem
Mar
11
comment NumericQ prevents evaluation at a numerical value sometimes
The variables started out as parameters, the gradual changes in the code led to the final error. I was trying workarounds for the problem I described in mathematica.stackexchange.com/questions/21013/…
Mar
11
accepted NumericQ prevents evaluation at a numerical value sometimes
Mar
11
awarded  Editor
Mar
11
revised NumericQ prevents evaluation at a numerical value sometimes
Formatted code correctly
Mar
11
asked NumericQ prevents evaluation at a numerical value sometimes
Mar
11
awarded  Scholar
Mar
11
accepted Forcing evaluation of ArgMax
Mar
11
comment Integration gives ComplexInfinity when it shouldn't
Maybe a more precise question would be: how to force the dummy variable of integration to be real. Non-working code Assuming[{k, l} \[Element] Reals, Integrate[Exp[l]/((1 + Exp[l])*Exp[k*l]), l]] /. {k -> 2}
Mar
11
awarded  Supporter
Mar
11
comment Integration gives ComplexInfinity when it shouldn't
Thank you, this info helps me in the right direction. Any workarounds for the ComplexInfinity problem would be appreciated. I'm only working with real numbers, would like to force Mathematica to stick to them.
Mar
11
comment Integration gives ComplexInfinity when it shouldn't
The plot of the integrals strangely contains negative values. All the Exp functions are positive, so the function under the integral is positive everywhere. How can the integral then be negative?
Mar
11
asked Integration gives ComplexInfinity when it shouldn't
Mar
5
awarded  Student
Mar
5
comment Forcing evaluation of ArgMax
Success! Thank you, the following does it: Clear[p, qa, qb, qachosen, qbchosen] $Assumptions = {p, qa, qb, qachosen, qbchosen} >= 0 p[qa_, qb_] := 1 - qa - qb qa[qb_] = qa /. Last@Maximize[qa*p[qa, qb], qa] qb[qa_] = qb /. Last@Maximize[qb*p[qa, qb], qb] Solve[{qa[qb] == qa, qb[qa] == qb}, {qa, qb}]
Mar
5
comment Forcing evaluation of ArgMax
Remains unevaluated.
Mar
5
comment Forcing evaluation of ArgMax
Same error occurs with ´:=´ and after using ´Clear´. I'm using Mathematica 6 with Windows XP.