COLOUR:STANDARD
POSITION:028,114
TEXT:00,If you use the same value to set the random number generator seed,
TEXT:16,the following rand() executions will always produce the same random
TEXT:16,values, no matter how many times you re-run your program. A demo program
TEXT:16,is available showing how to generate the same set of random numbers based
TEXT:16,on a value from the keyboard.
TEXT:32,To close this chapter, we will briefly introduce a series of library
TEXT:16,routines devoted to trigonometry:
COLOUR:EUPHORIA
TEXT:32,   = sin( )
COLOUR:POINTS
TEXT:00,ro       o      - Returns the sine of an angle
COLOUR:EUPHORIA
TEXT:16,   = cos( )
COLOUR:POINTS
TEXT:00,ro       o      - Returns the cosine of an angle
COLOUR:EUPHORIA
TEXT:16,   = tan( )
COLOUR:POINTS
TEXT:00,ro       o      - Returns the tangent of an angle
COLOUR:EUPHORIA
TEXT:16,   = arctan( )
COLOUR:POINTS
TEXT:00,ro          o   - Returns the angle of a tangent (opposite of tan())
