I have these functions:
f[dA_,dB_] :=(3.2 (0.389 +dA (-2 (0.175 + 0.012 dB) + 0.078 (-1 + dB) +0.012 (-1 + dB)^2) + dA^2 (0.214 - 0.027 dB) - 0.039 (-1 + dA) (-1 + dB)^2 + (-0.027 + 0.175 (-2 + dB)) dB) + (-1 + dA) (-1 + dB) (2.04 (-1 + dA) (-1 + dB) + (-1 + dA dB) Vin))/((-1 + dA) (-1 + dB) (-1 + dA dB) Vin)
g[dA_,dB_] :=-3.2 (0.214/(1 - dA) + (0.187 dA)/(1 - dA)^2) + ((1 - (1.02 (1 - dA))/Vin) Vin)/(1 - dA)
h[dA_,dB_] :=-3.2 (0.214/(1 - dB) + (0.187 dB)/(1 - dB)^2) + (dB (1 - (1.02 (1 - dB))/(dB Vin)) Vin)/(1 - dB)
I would like to find the maximum of f
, with parameter Vin
. Also, the following constraints must be met:
0<dA<1 && 0<dB<1 && 0<Vin<=625 && g+h=625
I have been trying to use the function FindMaximum
, but I think I do something wrong and I don't have any solution.
FindMaximum[{f, 0 < dA < 1 && 0 < dB < 1 && 0 < Vin <= 625 && g + h=625},{dA, dB}]
Could somebody help me understand what is my mistake or suggest another way to solve my problem? I have been also trying to use Partial Differential Equations, but I didn't have results also there.