function value = sin_deg ( angle ) %% SIN_DEG returns the sine of an angle given in degrees. % % Modified: % % 22 May 2005 % % Author: % % John Burkardt % % Parameters: % % Input, real ANGLE, the angle, in degrees. % % Output, real VALUE, the sine of the angle. % angle_rad = pi * angle / 180.0; value = sin ( angle_rad );