Advertising:
Πρότυπο:ErrorBar2: Διαφορά μεταξύ των αναθεωρήσεων
Χωρίς σύνοψη επεξεργασίας |
μ (προειδοποίηση) |
||
(4 ενδιάμεσες αναθεωρήσεις από τον ίδιο χρήστη δεν εμφανίζεται) | |||
Γραμμή 1: | Γραμμή 1: | ||
<noinclude> | |||
{|width="85%" align="center" cellspacing="3" style="border: 1px solid #C0C090; background-color: #F8EABA; margin-bottom: 3px;" | |||
|align="center"|'''Αυτό το πρότυπο προς το παρόν δε λειτουργεί'''. <br>Να μη χρησιμοποιείται. | |||
|- | |||
|align="center"|Διαβάστε τη [[:{{NAMESPACE}} talk:{{PAGENAME}}|συζήτηση]] συζήτηση ''πριν'' κάνετε αλλαγές. | |||
|} | |||
</noinclude> | |||
<includeonly>{{#if:{{{2|}}}|{{#ifexpr: {{{2}}} > {{{1}}} * {{{3}}}|approx. {{#expr: {{{1}}} round {{Sigfigs|{{{2}}}}}}}|{{#expr: {{{1}}} round {{Sigfigs|{{{2}}}}} }} ± {{#expr: {{{2}}} round {{Sigfigs|{{{2}}}}} }} }} |{{{1}}} }}</includeonly><noinclude> | <includeonly>{{#if:{{{2|}}}|{{#ifexpr: {{{2}}} > {{{1}}} * {{{3}}}|approx. {{#expr: {{{1}}} round {{Sigfigs|{{{2}}}}}}}|{{#expr: {{{1}}} round {{Sigfigs|{{{2}}}}} }} ± {{#expr: {{{2}}} round {{Sigfigs|{{{2}}}}} }} }} |{{{1}}} }}</includeonly><noinclude> | ||
Τελευταία αναθεώρηση της 01:21, 1 Σεπτεμβρίου 2006
Αυτό το πρότυπο προς το παρόν δε λειτουργεί. Να μη χρησιμοποιείται. |
Διαβάστε τη συζήτηση συζήτηση πριν κάνετε αλλαγές. |
This template is used to display a correctly rounded uncertain quantity and its uncertainty, except that if
the uncertainty exceeds a threshold times the quantity, the uncertainty is not displayed and it is merely
indicated that the quantity is uncertain.
Its syntax is
{{ErrorBar2|uncertain-quantity|uncertainty|threshold}}.
For example:
- {{ErrorBar2|1573.614|687.9|0.1}} yields
{{#if:687.9|{{#ifexpr: 687.9 > 1573.614 * 0.1|approx. {{#expr: 1573.614 round {{#ifexpr:687.9 < 0.0001|5|{{#ifexpr:687.9 < 0.001|4|{{#ifexpr:687.9 < 0.01|3|{{#ifexpr:687.9 < 0.1|2|{{#ifexpr: 687.9 < 1.0|1|{{#ifexpr: 687.9 < 10.0|0|{{#ifexpr: 687.9 < 100.0|-1|{{#ifexpr: 687.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }}}}|{{#expr: 1573.614 round {{#ifexpr:687.9 < 0.0001|5|{{#ifexpr:687.9 < 0.001|4|{{#ifexpr:687.9 < 0.01|3|{{#ifexpr:687.9 < 0.1|2|{{#ifexpr: 687.9 < 1.0|1|{{#ifexpr: 687.9 < 10.0|0|{{#ifexpr: 687.9 < 100.0|-1|{{#ifexpr: 687.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} ± {{#expr: 687.9 round {{#ifexpr:687.9 < 0.0001|5|{{#ifexpr:687.9 < 0.001|4|{{#ifexpr:687.9 < 0.01|3|{{#ifexpr:687.9 < 0.1|2|{{#ifexpr: 687.9 < 1.0|1|{{#ifexpr: 687.9 < 10.0|0|{{#ifexpr: 687.9 < 100.0|-1|{{#ifexpr: 687.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} }} |1573.614 }}.
- {{ErrorBar2|1573.614|187.9|0.1}} yields
{{#if:187.9|{{#ifexpr: 187.9 > 1573.614 * 0.1|approx. {{#expr: 1573.614 round {{#ifexpr:187.9 < 0.0001|5|{{#ifexpr:187.9 < 0.001|4|{{#ifexpr:187.9 < 0.01|3|{{#ifexpr:187.9 < 0.1|2|{{#ifexpr: 187.9 < 1.0|1|{{#ifexpr: 187.9 < 10.0|0|{{#ifexpr: 187.9 < 100.0|-1|{{#ifexpr: 187.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }}}}|{{#expr: 1573.614 round {{#ifexpr:187.9 < 0.0001|5|{{#ifexpr:187.9 < 0.001|4|{{#ifexpr:187.9 < 0.01|3|{{#ifexpr:187.9 < 0.1|2|{{#ifexpr: 187.9 < 1.0|1|{{#ifexpr: 187.9 < 10.0|0|{{#ifexpr: 187.9 < 100.0|-1|{{#ifexpr: 187.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} ± {{#expr: 187.9 round {{#ifexpr:187.9 < 0.0001|5|{{#ifexpr:187.9 < 0.001|4|{{#ifexpr:187.9 < 0.01|3|{{#ifexpr:187.9 < 0.1|2|{{#ifexpr: 187.9 < 1.0|1|{{#ifexpr: 187.9 < 10.0|0|{{#ifexpr: 187.9 < 100.0|-1|{{#ifexpr: 187.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} }} |1573.614 }}.
- {{ErrorBar2|1573.614|123.4|0.1}} yields
{{#if:123.4|{{#ifexpr: 123.4 > 1573.614 * 0.1|approx. {{#expr: 1573.614 round {{#ifexpr:123.4 < 0.0001|5|{{#ifexpr:123.4 < 0.001|4|{{#ifexpr:123.4 < 0.01|3|{{#ifexpr:123.4 < 0.1|2|{{#ifexpr: 123.4 < 1.0|1|{{#ifexpr: 123.4 < 10.0|0|{{#ifexpr: 123.4 < 100.0|-1|{{#ifexpr: 123.4 < 1000.0|-2|-3}} }} }} }} }} }} }} }}}}|{{#expr: 1573.614 round {{#ifexpr:123.4 < 0.0001|5|{{#ifexpr:123.4 < 0.001|4|{{#ifexpr:123.4 < 0.01|3|{{#ifexpr:123.4 < 0.1|2|{{#ifexpr: 123.4 < 1.0|1|{{#ifexpr: 123.4 < 10.0|0|{{#ifexpr: 123.4 < 100.0|-1|{{#ifexpr: 123.4 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} ± {{#expr: 123.4 round {{#ifexpr:123.4 < 0.0001|5|{{#ifexpr:123.4 < 0.001|4|{{#ifexpr:123.4 < 0.01|3|{{#ifexpr:123.4 < 0.1|2|{{#ifexpr: 123.4 < 1.0|1|{{#ifexpr: 123.4 < 10.0|0|{{#ifexpr: 123.4 < 100.0|-1|{{#ifexpr: 123.4 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} }} |1573.614 }}.
- {{ErrorBar2|1573.614|47.9|0.1}} yields
{{#if:47.9|{{#ifexpr: 47.9 > 1573.614 * 0.1|approx. {{#expr: 1573.614 round {{#ifexpr:47.9 < 0.0001|5|{{#ifexpr:47.9 < 0.001|4|{{#ifexpr:47.9 < 0.01|3|{{#ifexpr:47.9 < 0.1|2|{{#ifexpr: 47.9 < 1.0|1|{{#ifexpr: 47.9 < 10.0|0|{{#ifexpr: 47.9 < 100.0|-1|{{#ifexpr: 47.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }}}}|{{#expr: 1573.614 round {{#ifexpr:47.9 < 0.0001|5|{{#ifexpr:47.9 < 0.001|4|{{#ifexpr:47.9 < 0.01|3|{{#ifexpr:47.9 < 0.1|2|{{#ifexpr: 47.9 < 1.0|1|{{#ifexpr: 47.9 < 10.0|0|{{#ifexpr: 47.9 < 100.0|-1|{{#ifexpr: 47.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} ± {{#expr: 47.9 round {{#ifexpr:47.9 < 0.0001|5|{{#ifexpr:47.9 < 0.001|4|{{#ifexpr:47.9 < 0.01|3|{{#ifexpr:47.9 < 0.1|2|{{#ifexpr: 47.9 < 1.0|1|{{#ifexpr: 47.9 < 10.0|0|{{#ifexpr: 47.9 < 100.0|-1|{{#ifexpr: 47.9 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} }} |1573.614 }}.
- {{ErrorBar2|1573.614|0.873|0.1}} yields
{{#if:0.873|{{#ifexpr: 0.873 > 1573.614 * 0.1|approx. {{#expr: 1573.614 round {{#ifexpr:0.873 < 0.0001|5|{{#ifexpr:0.873 < 0.001|4|{{#ifexpr:0.873 < 0.01|3|{{#ifexpr:0.873 < 0.1|2|{{#ifexpr: 0.873 < 1.0|1|{{#ifexpr: 0.873 < 10.0|0|{{#ifexpr: 0.873 < 100.0|-1|{{#ifexpr: 0.873 < 1000.0|-2|-3}} }} }} }} }} }} }} }}}}|{{#expr: 1573.614 round {{#ifexpr:0.873 < 0.0001|5|{{#ifexpr:0.873 < 0.001|4|{{#ifexpr:0.873 < 0.01|3|{{#ifexpr:0.873 < 0.1|2|{{#ifexpr: 0.873 < 1.0|1|{{#ifexpr: 0.873 < 10.0|0|{{#ifexpr: 0.873 < 100.0|-1|{{#ifexpr: 0.873 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} ± {{#expr: 0.873 round {{#ifexpr:0.873 < 0.0001|5|{{#ifexpr:0.873 < 0.001|4|{{#ifexpr:0.873 < 0.01|3|{{#ifexpr:0.873 < 0.1|2|{{#ifexpr: 0.873 < 1.0|1|{{#ifexpr: 0.873 < 10.0|0|{{#ifexpr: 0.873 < 100.0|-1|{{#ifexpr: 0.873 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} }} |1573.614 }}.
- {{ErrorBar2|1573.614|0.007|0.1}} yields
{{#if:0.007|{{#ifexpr: 0.007 > 1573.614 * 0.1|approx. {{#expr: 1573.614 round {{#ifexpr:0.007 < 0.0001|5|{{#ifexpr:0.007 < 0.001|4|{{#ifexpr:0.007 < 0.01|3|{{#ifexpr:0.007 < 0.1|2|{{#ifexpr: 0.007 < 1.0|1|{{#ifexpr: 0.007 < 10.0|0|{{#ifexpr: 0.007 < 100.0|-1|{{#ifexpr: 0.007 < 1000.0|-2|-3}} }} }} }} }} }} }} }}}}|{{#expr: 1573.614 round {{#ifexpr:0.007 < 0.0001|5|{{#ifexpr:0.007 < 0.001|4|{{#ifexpr:0.007 < 0.01|3|{{#ifexpr:0.007 < 0.1|2|{{#ifexpr: 0.007 < 1.0|1|{{#ifexpr: 0.007 < 10.0|0|{{#ifexpr: 0.007 < 100.0|-1|{{#ifexpr: 0.007 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} ± {{#expr: 0.007 round {{#ifexpr:0.007 < 0.0001|5|{{#ifexpr:0.007 < 0.001|4|{{#ifexpr:0.007 < 0.01|3|{{#ifexpr:0.007 < 0.1|2|{{#ifexpr: 0.007 < 1.0|1|{{#ifexpr: 0.007 < 10.0|0|{{#ifexpr: 0.007 < 100.0|-1|{{#ifexpr: 0.007 < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} }} |1573.614 }}.