ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ
The term "expr" refers to Wikipedia's "#expr" wp:parser function to calculate expressions. Formats:
- {{#expr: (5*10 + 3^2 +8)/2 }} → calculate expression: (5×10 + 32+8)/2 = 33.5
- {{#expr: 2*7.1 + 2/3 round 4 }} → rounded: 2×7.1 + 2÷3 round 4 = 14.8667
- {{#expr: floor(1.8+1.9) + 4.3 }} → truncated: floor(1.8+1.9) + 4.3 = 7.3
- {{#expr: 12+47 mod 10 }} → calculate modulo remainder: 12+47 mod 10 = 19
- {{#expr: 10^1 + pi }} = 13.14159265359
- {{#expr: cos pi + cos 3.14159265358 }} = -2
- {{#expr: ln 200.5 }} = 5.3008142467466
|
Math templates |
---|
|
|
|
---|
| mvar | individual italicized maths variables in normal text | | a line set above/below a sequence of characters | overarc | an arc set above a sequence of characters | | arbitrary characters/diacritics set above/below one another | pars | parentheses that can be resized (∑) | sfrac | "standing" or upright fractions 3/5 (use in maths/science articles instead of{{fraction}} ) | | subscripts and superscripts | tmath | Wrap TeX in <math> tags | tombstone | symbol indicating the end of a proof | val | measurement values, uncertainties and units | vec | various overarrows, underarrows, etc. |
|
|
|
|
|