function value = trigger_solution ( t )

%*****************************************************************************80
%
%% trigger_solution evaluates the exact solution of the trigger ODE.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    19 October 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real T: the evaluation time.
%
%  Output:
%
%    real VALUE, the solution at the given time.
%
  c = 10.0;
  value = ( c   * exp ( - c * t ) ...
          + c^2 * sin ( t ) ...
          - c   * cos ( t ) ) ...
          / ( 1.0 + c^2 );

  return
end

