I want to know whether or not the objective function I have defined is correct. The nonlinear constraint has to be satisfied while ζ varies from 0 < ζ <= 1/2.
This is the first time I am trying to do optimization with Mathematica. It would be helpful if you would direct me to any documentation that can help me.
ClearAll f[β_] := β; (*Objective function*) a = 1/(2*β^3); eq = a*(((Sin[β*(1 - ζ)]*Sin[β*ζ])/Sin[β]) - ((Sinh[β*(1 - ζ)]*Sinh[β*ζ])/Sinh[β])); eq1 = (10^12*eq) + 1; (*This is the constraint equation*) NMaximize[f[β_], eq1 == 0]