User Portlet
Discussions |
---|
In[21]:= f[md_?NumericQ, ma_?NumericQ] := NIntegrate[ PDF[NormalDistribution[10*md, md], c]*(md*c - 10)*(1 - CDF[NormalDistribution[10*ma, 2*ma], c]), {c, -Infinity, Infinity}] In[22]:= f[1,... |
Have you tested to see if the integrals work for numerical values of md and ma ? |
[![enter image description here][1]][1] I would like to find the maximum value and the optimal m_a and m_d from the above two functions using GRID search. I have tried but it doesn't work. Do you have any ideas? Any different example of the... |