function W = biharmonic_exact_w3 ( X, Y, a, b, c, d, e, f )

%*****************************************************************************80
%
%% biharmonic_exact_w3() evaluates exact biharmonic solution W(X,Y) #3.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 August 2024
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X, Y: the coordinates of the points.
%
%    real a, b, c, d, e, f: parameters.
%
%  Output:
%
%    real W: the solution evaluated at the points (X,Y).
%
  R = sqrt ( ( X - e ).^2 + ( Y - f ).^2 );

  W =   a     * R.^2 * log ( R ) ...
      + b     * R.^2 ...
      + c * log ( R ) ...
      + d;

  return
end
