Hi,
I'm trying to obtain the maximum value of the function and estimate the values of parameters in this function.
But when I ran the command NMaximize, I got this error:
NMaximize::nrnum: The function value 1.25645*10^6-370.708 I is not a real number at {r,x,\[Theta]} = {0.652468,0.266141,1.36563}. >>
Please see the code in the attachment
Many thanks in advance