function radians = dms_to_radians ( degrees, minutes, seconds )

%*****************************************************************************80
%
%% dms_to_radians() converts an angle from degrees/minutes/seconds to radians.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 February 2005
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer DEGREES, MINUTES, SECONDS, an angle in degrees, minutes,
%    and seconds.
%
%  Output:
%
%    real RADIANS, the equivalent angle in radians.
%
  angle =   degrees + ( minutes + ( seconds / 60.0 ) ) / 60.0;

  radians = ( angle / 180.0 ) * pi;

  return
end
