FindFit doesn't work for me in Mathematica

dimanche 29 juin 2014

Hello,



I want to fit a two-parameter function to two points in this way:



FindFit[{{0, 1}, {1, 0}}, D + C *Log[-1 + Sqrt[-C^2 + (-1 + x)^2] + x], {C, D}, x]



But Mathematica won't give the values for parameters C and D. Instead it says:



"FindFit::nrlnum: "The function value {0. -3.14159\ I,1. -1.5708\ I}\\n is not a list of real numbers with dimensions {2} at {C,D} = {1.,1.}."



Does anyone know what is the problem?





0 commentaires:

Enregistrer un commentaire