Hello I’m really new to mathematica… and I’m struggling for the following question…
What I want to do is to get the value of Nb that maximizes the function Pb
k[Nb_] := Nb - (1/(1 - f^2))*(1 + (f * Nb/(1 - Nb)))*(1 - (f*Nb)/(1 - Nb) Log[(1 - (1 - f)*Nb)/f])
Pb[Nb_] := (f*g + (1 - f)*g*k[Nb] - y*Nb + f*\[Pi])*Nb
And all the letter except Nb are taken as constant (0<f<1)
And I tried
ArgMax[{Pb[Nb], 0 < f && f < 1}, Nb]
However, the output is exactly the same as input
ArgMax[{Nb (f g - Nb/2 + f \[Pi] + (1 - f) g (Nb - ((1 + (f Nb)/(1 - Nb)) (1 - (f Nb Log[(1 - (1 - f) Nb)/f])/(1 - Nb)))/(1 - f^2))),0 < f && f < 1}, Nb]
I have no idea why mathematica gives the same output as input so I’m struggling to figure it out.
The following is what I got from my mathematica.
Can anybody help me solving the problem? Thank you

