SUMX = 0
SUMY = 0
N =0
FOR each angle a (in radians) DO
SUMX = SUMX + COS(a)
SUMY = SUMY + SIN(a)
N = N + 1
ENDFOR
AVGX = SUMX/N
AVGY = SUMY/N
IF (AVGX,AVGY) is "too close" to (0,0) THEN
report directionless, NULL VECTOR
ELSE
AVERAGEANGLE = ARCTAN(AVGY,AVGX)
ENDIF
Chat with our AI personalities
Multiply the average by the number of terms.
The average is (7081+8890)/2 = 7985.5
You calculate the normal average between the two central numbers.You calculate the normal average between the two central numbers.You calculate the normal average between the two central numbers.You calculate the normal average between the two central numbers.
Total takings/number of guest = mean average
Average speed.