### Can FEniCS solve a nonlinear curve fitting problem?

82
views
0
7 weeks ago by
I hope this is an OK question for this forum. If not, feel free to close!

A simple example would be:
I need to find four unknown spatially defined functions a, b, c, d from a set of known functions f_i. I then would like to use these functions to define a PDE. Described in a least-squares formulation it is:

$\sum_{i=1}^n\left[\left(a+bc\right)^d-f_i\right]^2=0$i=1n[(a+bc)dƒ i]2=0

where n > 4. Is there any way a NonlinearVariationalProblem could be used to describe and solve this?
Community: FEniCS Project