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

%*****************************************************************************80
%
%% biharmonic_exact_w2() evaluates exact biharmonic solution W(X,Y) #2.
%
%  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, g: parameters.
%
%  Output:
%
%    real W: the solution evaluated at the points (X,Y).
%
  W = ( a      * cos ( g * X ) ...
      + b      * sin ( g * X ) ...
      + c * X .* cos ( g * X ) ...
      + d * X .* sin ( g * X ) ) ... 
      .*
      ( e * cosh ( g * Y ) ...
      + f * sinh ( g * Y ) );

  return
end
