finding minimum of ugly and parameterised function



Hello, Ivana.

Let f(x;p,q) = (p-x)^2 + (q-1.4-(5.6/(1+exp(44*(x-1.28)))))^2

> However, derivative f'(x) is pretty ugly and Maxima does not seem to be able to solve f'(x)=0.

Maxima not able to solve f'(x;p,q)=0 in finite terms. But are you sure 
that you want an exact (symbolic) solution of this equation?

Let m(p,q)=min_x f(x;p,q)

What properties of function m(p,q) you are interested?

Evgeniy