Difference between revisions of "Template:DropTest/1"

From Star Trek Timelines Wiki
Jump to navigation Jump to search
('round' binds tighter than '/', apparently.)
(simplified SD formula)
Line 9: Line 9:
 
|avg={{#expr: {{{cost}}}*{{{runs}}}/{{{2}}} round 1 }}
 
|avg={{#expr: {{{cost}}}*{{{runs}}}/{{{2}}} round 1 }}
 
|low={{#expr:
 
|low={{#expr:
{{{cost}}} / {{{rewards}}} / {{{3}}} / ( ({{{2}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}) +
+
{{{cost}}} / {{{rewards}}} / {{{3}}} / ( ({{{2}}}/{{{3}}}) +
 
<!--2 SD-->
 
<!--2 SD-->
2*(((({{{2|}}}/{{{3}}})*(1 - ({{{2}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}))^2 + ({{{runs}}}*{{{rewards}}}-{{{2|}}}/{{{3}}})*(({{{2}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}))^2)  / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5
+
2*((({{{2|}}}/{{{3}}})*({{{runs}}}*{{{rewards}}}-{{{2|}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5
  / (({{{runs}}}*{{{rewards}}}) ^ 0.5))) round 2}}
+
  / ({{{runs}}}*{{{rewards}}})) round 2}}
 
|high={{#iferror:{{#expr:
 
|high={{#iferror:{{#expr:
{{{cost}}} / {{{rewards}}} / {{{3}}} / ( ({{{2|}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}) -
+
{{{cost}}} / {{{rewards}}} / {{{3}}} / ( ({{{2|}}}/{{{3}}}) -
 
<!--2 SD-->
 
<!--2 SD-->
2*(((({{{2}}}/{{{3}}})*(1 - ({{{2}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}))^2 + ({{{runs}}}*{{{rewards}}}-{{{2}}}/{{{3}}})*(({{{2}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}))^2)  / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5
+
2*((({{{2|}}}/{{{3}}})*({{{runs}}}*{{{rewards}}}-{{{2|}}}/{{{3}}}) / ({{{runs}}}*{{{rewards}}}-1)) ^ 0.5
  / (({{{runs}}}*{{{rewards}}}) ^ 0.5))) round 2}}|-1}}
+
  / ({{{runs}}}*{{{rewards}}})) round 2}}|-1}}
 
|min={{#expr: {{{cost}}}/{{{rewards}}} round 2}}
 
|min={{#expr: {{{cost}}}/{{{rewards}}} round 2}}
 
}}|data-sort-value=9e999{{!}}<span class=error style="font-size:inherit">Missing: {{#ifexpr:{{{runs}}}|{{#ifexpr:{{{cost}}}|total units|''cost''}}|''runs'' {{#ifexpr:{{{cost}}}||and ''cost''}}}}</span>  }}
 
}}|data-sort-value=9e999{{!}}<span class=error style="font-size:inherit">Missing: {{#ifexpr:{{{runs}}}|{{#ifexpr:{{{cost}}}|total units|''cost''}}|''runs'' {{#ifexpr:{{{cost}}}||and ''cost''}}}}</span>  }}

Revision as of 15:07, 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 "{".