Expression 18: "i" left parenthesis, "x" , right parenthesis equals left parenthesis, 1 minus StartFraction, "d" Over 2 "p" , EndFraction , right parenthesis times "x"ix=1−d2p·x
18
f(x) is the damage taken given x, the proportion of rays that hit the entity over total rays.
19
Expression 20: "f" left parenthesis, "x" , right parenthesis equals 10.5 times "p" times left parenthesis, "i" left parenthesis, "x" , right parenthesis plus "i" left parenthesis, "x" , right parenthesis squared , right parenthesis plus 1 left brace, "x" greater than or equal to 0 , right brace left brace, "x" less than or equal to 1 , right bracefx=10.5·p·ix+ix2+1x≥0x≤1