On the Subject of Ship Review

😋.

For each of the five stages of the module, do the following:

  • In the Data Table, in each person’s sheet, take the intersection between the two characters displayed on the module (whose names are written on the right-most display) to form a list of five numbers from -5 to 5:
    • Substitute blank cells with zeros.
    • Intersections resulting with “!” will never generate on the module.
  • If at the bottom of the module one of the person’s icons is lit up, append two more of their number received from the intersection in the Data Table to the formed list.
    • The order of people at the bottom of the module, left-to-right, is: _Play_, Megum, rand06, 1254, BorisP.
  • Take the average of the list by following an algorithm depending on your stage:
    • Stage 1: Take the median of the list (sort the list in ascending order and take the value that is in its center).
    • Stage 2: Take the arithmetic mean of the list (divide the sum of all values in the list by the number of values in it).
    • Stage 3: Take the trimmed mean of the list (remove the highest and the lowest values from the list, then take the arithmetic mean of the acquired list)
    • Stage 4: Take the signed root mean square of the list:
      1. Divide the sum of squares of all values in the list by the number of values in it.
      2. Take the square root of the result.
      3. If the sum of all values in the list is negative, negate the result from the previous step.
    • Stage 5:
      1. Take the median of the list, call that value m.
      2. Determine the weight w of each value x in the list:
        • If x is equal to m, w = 1.
        • Otherwise, w = 1.5/(|x - m|). If w is now greater than 1, w = 1.
      3. Divide the sum of all values in the list, multiplied by their corresponding weights, by the sum of all of the values’ weights.
  • Truncate the average to three decimal digits.
  • Input it into the module as follows:
    • Input the sign of the average by pressing a green button for “+”, and a red button for “-”.
    • Input the value of the average by pressing the numbered buttons and the thin rectangular buttonm, which corresponds to “.”. Your input should be in the form of ±#.###.
      • If the average is equal to 0, input it as +0.000.
    • Finally, after inputting six characters, press a green button to submit your input into the module, or press a red button to clear it instead.