Difference between revisions of "Template:DropTest/1"

From Star Trek Timelines Wiki
Jump to navigation Jump to search
(simplified SD formula)
(old bug: need {{{avg}}} to be of same rounding precision as {{{low}}} and {{{high}}}, to prevent comparison fail in DropTest/4)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
{{!}} {{DropTest/4|{{{1}}}|{{{2}}}|{{{3}}}
 
{{!}} {{DropTest/4|{{{1}}}|{{{2}}}|{{{3}}}
 
|cost={{{cost}}}
 
|cost={{{cost}}}
|avg={{#expr: {{{cost}}}*{{{runs}}}/{{{2}}} round 1 }}
+
|avg={{#expr: {{{cost}}}*{{{runs}}}/{{{2}}} round 2 }}
 
|low={{#expr:
 
|low={{#expr:
{{{cost}}} / {{{rewards}}} / {{{3}}} / ( ({{{2}}}/{{{3}}}) +
+
{{{cost}}} / {{{rewards}}} / {{{3}}} / (( ({{{2}}}/{{{3}}}) +
 
<!--2 SD-->
 
<!--2 SD-->
2*((({{{2|}}}/{{{3}}})*({{{runs}}}*{{{rewards}}}-{{{2|}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5
+
2*((({{{2|}}}/{{{3}}})*({{{runs}}}*{{{rewards}}}-{{{2|}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5))
 
  / ({{{runs}}}*{{{rewards}}})) round 2}}
 
  / ({{{runs}}}*{{{rewards}}})) round 2}}
 
|high={{#iferror:{{#expr:
 
|high={{#iferror:{{#expr:
{{{cost}}} / {{{rewards}}} / {{{3}}} / ( ({{{2|}}}/{{{3}}}) -
+
{{{cost}}} / {{{rewards}}} / {{{3}}} / (( ({{{2|}}}/{{{3}}}) -
 
<!--2 SD-->
 
<!--2 SD-->
2*((({{{2|}}}/{{{3}}})*({{{runs}}}*{{{rewards}}}-{{{2|}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5
+
2*((({{{2|}}}/{{{3}}})*({{{runs}}}*{{{rewards}}}-{{{2|}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5))
 
  / ({{{runs}}}*{{{rewards}}})) round 2}}|-1}}
 
  / ({{{runs}}}*{{{rewards}}})) round 2}}|-1}}
 
|min={{#expr: {{{cost}}}/{{{rewards}}} round 2}}
 
|min={{#expr: {{{cost}}}/{{{rewards}}} round 2}}

Latest revision as of 17:05, 14 October 2018

|- | {{{1}}}Expression error: Unrecognized punctuation character "{". ||style="text-align:right"| {{{2}}}>>Expression error: Unrecognized punctuation character "{". |style="text-align:right" data-sort-value=9e999|Missing: Expression error: Unrecognized punctuation character "{". |style="text-align:right" data-sort-value=9e999|Missing: Expression error: Unrecognized punctuation character "{".