"साचा:Physconst/data/doc" च्या विविध आवृत्यांमधील फरक

Content deleted Content added
 
No edit summary
 
ओळ १:
{{Documentation subpage}}
{{भाषांतर}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
This is the /data subpage for {{t|physconst}}. It stores all of the values used by the main template.
 
==वापर==
This subpage uses two switch statements to determine the data sent back to the main template. Use the template below for ease of adding a new constant.
 
<pre>
| name = {{#switch: {{{2}}}
| symbol = symbol
| val = significand of physical constant value
| un1 = standard uncertainty (with leading zeroes)
| unc = EITHER (standard uncertainty digits; concise form) OR blank if exact
| round = digits after decimal for default rounding; see below
| exp = exponent of value
| runc = significand of relative standard uncertainty
| rexp = exponent of relative standard uncertainty
| unit = unit
| ref = reference footnote (in <ref>...</ref> tags)
</pre>
 
==Rounding==
{{t|Physconst}} can auto-round a value to the most digits such that the standard uncertainty is no more than 0.5 units in the last place. In other words:
:<math> \text{val}_{round} \pm \text{un1} > \text{val} \mp (0.5 * \text{un1})</math>
This can be seen visually below. A correctly-rounded value will show green for the first two columns and red for the third. If this is not the case, the auto-round value will need to be adjusted.
 
'''Please note''' that <code>h</code> is accurate, but shows all three columns green due to the number of 0s in the value.
 
===Auto-round tables===
{{div col}}
{{Physconst/data/disp|alpha|0.5}}
{{Physconst/data/disp|bwien|0.5}}
{{Physconst/data/disp|e|0.5}}
{{Physconst/data/disp|eV|0.5}}
{{Physconst/data/disp|F|0.5}}
{{Physconst/data/disp|G|0.5}}
{{Physconst/data/disp|G0|0.5}}
{{Physconst/data/disp|ge|0.5}}
{{Physconst/data/disp|gmu|0.5}}
{{Physconst/data/disp|h|0.5}}
{{Physconst/data/disp|hbar|0.5}}
{{Physconst/data/disp|invalpha|0.5}}
{{Physconst/data/disp|k|0.5}}
{{Physconst/data/disp|KJ|0.5}}
{{Physconst/data/disp|me|0.5}}
{{Physconst/data/disp|mmu|0.5}}
{{Physconst/data/disp|mtau|0.5}}
{{Physconst/data/disp|mp|0.5}}
{{Physconst/data/disp|mpome|0.5}}
{{Physconst/data/disp|mu|0.5}}
{{Physconst/data/disp|NA|0.5}}
{{Physconst/data/disp|Phi0|0.5}}
{{Physconst/data/disp|R|0.5}}
{{Physconst/data/disp|RK|0.5}}
{{Physconst/data/disp|Rinf|0.5}}
{{Physconst/data/disp|sigma|0.5}}
{{div col end}}
 
[[वर्ग:एस. आय. एककांविषयीचे साचे]]