function x = p24_sol ( n )

%*****************************************************************************80
%
%% p24_sol() returns the solution of problem 24.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 August 2026
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer n: the order of the system.
%
%  Output:
%
%    real x(n): the solution of the nonlinear system.
%
  a32 = 0.5;
  a42 = 0.0; 
  a43 = 1.0;
  b1  = 1.0 / 6.0;
  b2  = 1.0 / 3.0;
  b3  = 1.0 / 3.0;
  b4  = 1.0 / 6.0;
  c2  = 0.5;
  c3  = 0.5;
  c4  = 1.0;

  x = [ a32; a42; a43; b1; b2; b3; b4; c2; c3; c4 ];

  return
end

