Talk:Summation chart: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
mNo edit summary
m (change per Daid suggestion)
Line 9: Line 9:


<div {{prettydiv|margin-right=70%}}>'''σ = (1/2)(1+2r/n-n)'''</div>
<div {{prettydiv|margin-right=70%}}>'''σ = (1/2)(1+2r/n-n)'''</div>
{{Equation box|<math>\mathrm{\sigma = .5 + \frac{r}{n} - \frac{n}{2}}</math>}}
{{Equation box|<math>\mathrm{\sigma = \frac{1}{2} + \frac{r}{n} - \frac{n}{2}}</math>}}


Obviously I didn't go for a direct translation, I tried to do some math. I'm sure it can be improved. [[User:VANKRASN39|VANKRASN39]] ([[User talk:VANKRASN39|talk]]) 17:52, 4 October 2016 (CDT)
Obviously I didn't go for a direct translation, I tried to do some math. I'm sure it can be improved. [[User:VANKRASN39|VANKRASN39]] ([[User talk:VANKRASN39|talk]]) 17:52, 4 October 2016 (CDT)

Revision as of 14:33, 5 October 2016

Math Code

Proposed math code, please check/correct:

n = trunc[ 1-σ + sqrt[(σ-1)^2+2r] ]
r = (n/2)(n+2σ-1)
σ = (1/2)(1+2r/n-n)

Obviously I didn't go for a direct translation, I tried to do some math. I'm sure it can be improved. VANKRASN39 (talk) 17:52, 4 October 2016 (CDT)