{{Math}} is a string evaluation tool used for formatting and solving expressions.

  • Evaluating and/or formatting LaTeX strings is not currently supported.
  • Default mode is in radians, not degrees, unless otherwise specified.
  • All values are stored up 14 decimal places, though only up to 3 decimal places are displayed unless otherwise specified.
  • Will use scientific notation for any values with magnitudes less than 10-5 or greater than 1014.
  • Used in conjunction with Module:Math.

To request additional features or support, contact FINNER.


1 + 1 = 2

Template documentation (for the above template, sometimes hidden or invisible)

Expression Manipulations

Expressions

{{Math|-10 + 50 - 10^2 * 5 / 6}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y}}

-43.3333
87%

Text

{{Math|-10 + 50 - 10^2 * 5 / 6|t=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|t=y}}

-10 + 50 - 10^2 * 5 / 6 = -43.3333
15% × [1 + Mod TT 20px.png 120% + Mod TT 20px.png 60% × (7 - 1)] = 87%

Bold-face

{{Math|-10 + 50 - 10^2 * 5 / 6|bf=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|bf=y}}

-10 + 50 - 10^2 * 5 / 6 = -43.3333
15% × [1 + Mod TT 20px.png 120% + Mod TT 20px.png 60% × (7 - 1)] = 87%

Italics

{{Math|-10 + 50 - 10^2 * 5 / 6|if=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|if=y}}

-10 + 50 - 10^2 * 5 / 6 = -43.3333
15% × [1 + Mod TT 20px.png 120% + Mod TT 20px.png 60% × (7 - 1)] = 87%

MathText

{{Math|-10 + 50 - 10^2 * 5 / 6|mt=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|mt=y}}

-10 + 50 - 10^2 * 5 / 6 = -43.3333
15% × [1 + Mod TT 20px.png 120% + Mod TT 20px.png 60% × (7 - 1)] = 87%

Type-face

{{Math|-10 + 50 - 10^2 * 5 / 6|tf=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|tf=y}}

-10 + 50 - 10^2 * 5 / 6 = -43.3333
15% × [1 + Mod TT 20px.png 120% + Mod TT 20px.png 60% × (7 - 1)] = 87%

Answer Only Text

{{Math|-10 + 50 - 10^2 * 5 / 6|bf-a=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|if-a=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|tf-a=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|mt-a=y|if-a=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|mt-a=y}}

-43.3333
-43.3333
-43.3333
-43.3333
87%

Combinations

{{Math|-10 + 50 - 10^2 * 5 / 6|bf-a=y|if=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|bf=y|tf=y|if-a=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|if=y|tf-a=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|bf=y|mt-a=y|if-a=y|tf=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|mt-a=y|tf=y}}

-10 + 50 - 10^2 * 5 / 6 = -43.3333
-10 + 50 - 10^2 * 5 / 6 = -43.3333
-10 + 50 - 10^2 * 5 / 6 = -43.3333
-10 + 50 - 10^2 * 5 / 6 = -43.3333
15% × [1 + Mod TT 20px.png 120% + Mod TT 20px.png 60% × (7 - 1)] = 87%

Proc Icons

{{Math|{{Icon|Proc|Cold}}26 {{mul}} ({{M|Hellfire|90%}} + {{M|Thermite Rounds|60%}})|t=y|proc=Heat}}

DmgColdSmall64.png26 × (Mod TT 20px.png 90% + Mod TT 20px.png 60%) = DmgHeatSmall64.png0

Approximation

{{Math|abs(-10 + 50 - 10^2 * 5 / 6)|approx=y}}<br />
{{Math|abs(-10 + 50 - 10^2 * 5 / 6)|t=y|approx=y}}<br />
{{Math|{{text||15%|hover=Gram's base crit chance}} {{mul}} [1 + {{M|True Steel|120%}} + {{M|Blood Rush|60%}} {{mul}} ({{text||7|hover=Combo Multiplier}} - 1)]|p=y|t=y|approx=y}}

~43.3333
abs(-10 + 50 - 10^2 * 5 / 6) ≈ 43.3333
15% × [1 + Mod TT 20px.png 120% + Mod TT 20px.png 60% × (7 - 1)] ≈ 87%

Constants

{{Math|#e|t=y}}<br />
{{Math|#gamma|t=y}}<br />
{{Math|#phi|t=y}}<br />
{{Math|#pi|t=y}}

e = 2.7183
γ = 0.5772
φ = 1.618
π = 3.1416

Degree

{{Math|#pi/2|degree=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|d=y}}<br />
{{Math|deg|-10 + 50 - 10^2 * 5 / 6}}

90°
-2,482.8171°
-2,482.8171

Radian

{{Math|rad|-10 + 50 - 10^2 * 5 / 6}}

-0.7563

Multiplier

{{Math|-10 + 50 - 10^2 * 5 / 6|multi=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|m=y}}

-43.3333x
-43.3333x

Percent

{{Math|-10 + 50 - 10^2 * 5 / 6|percent=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|p=y}}

-4,333.3333%
-4,333.3333%


Mathematical Functions

Absolute Value

{{Math|abs|-10 + 50 - 10^2 * 5 / 6|t=y}}<br />
or<br />
{{Math|abs(-10 + 50 - 10^2 * 5 / 6)|t=y}}

|-10 + 50 - 10^2 * 5 / 6| = 43.3333
or
abs(-10 + 50 - 10^2 * 5 / 6) = 43.3333

Binomial

{{Math|binomial|1/6|6|1|t=y}}

binomial(1/6, 6, 1) = 0.4019

Ceiling

{{Math|ceil|-10 + 50 - 10^2 * 5 / 6|t=y}}<br />
or<br />
{{Math|ceil(-10 + 50 - 10^2 * 5 / 6)|t=y}}

-10 + 50 - 10^2 * 5 / 6 = -43
or
ceil(-10 + 50 - 10^2 * 5 / 6) = -43

Exponentiate

{{Math|exp|2|t=y}}<br />
{{Math|#e<sup>2</sup>|t=y}}<br />
{{Math|#e{{exp|2}}|t=y}}<br />
{{Math|#e^2|t=y}}<br />
or<br />
{{Math|exp(2)|t=y}}

e2 = 7.3891
e2 = 7.3891
e2 = 7.3891
e^2 = 7.3891
or
exp(2) = 7.3891

Floor

{{Math|floor|-10 + 50 - 10^2 * 5 / 6|t=y}}<br />
or<br />
{{Math|floor(-10 + 50 - 10^2 * 5 / 6)|t=y}}

-10 + 50 - 10^2 * 5 / 6 = -44
or
floor(-10 + 50 - 10^2 * 5 / 6) = -44

Fractions

{{Math|7*#e/9|t=y|frac=#e}}<br />
{{Math|10(1 + 5^(1/2))/2|t=y|frac=#phi}}<br />
{{Math|asin(1)|t=y|frac=#pi}}<br />
{{Math|0.125|t=y|frac=y}}<br />
{{Math|14*2^(1/2)/2|t=y|frac=y}}<br />
{{Math|14*2^(1/2)/2|t=y|frac=y|epsilon=-10}}<br />
{{Math|14*2^(1/2)/2|t=y|frac={{#expr:2^(1/2)}}}}

7*e/9 = 
10(1 + 5^(1/2))/2 = 
asin(1) = 
0.125 = 
14*2^(1/2)/2 = 
14*2^(1/2)/2 = 
14*2^(1/2)/2 = 

Gamma Function

{{Math|gamma|0.5|t=y}}<br />
{{Math|gamma|#pi+1|t=y}}<br />
or<br />
{{Math|gamma|198|t=y}}

-0.5! = 1.7724538
3.1416! = 7.1880827
or
197! = 1.0007841E+368

Logarithm (Base-x)

{{Math|log|3|2|t=y}}

log2(3) = 1.585

Logarithm (Natural)

{{Math|ln|2|t=y}}<br />
or<br />
{{Math|ln(2)|t=y}}

ln(2) = 0.6931
or
ln(2) = 0.6931

Max

{{Math|max|-2|-1|0|2|4}}

4

Min

{{Math|min|-2|-1|0|2|4}}

-2

Modulo

{{Math|mod|-10 + 50 - 10^2 * 5 / 6|2|t=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6 mod 2|t=y}}

(-10 + 50 - 10^2 * 5 / 6) % (2) = -1.3333
-10 + 50 - 10^2 * 5 / 6 mod 2 = -1

ModF

{{Math|modf|-10 + 50 - 10^2 * 5 / 6|t=y}}<br />
{{Math|modf|-10 + 50 - 10^2 * 5 / 6|int=y|t=y}}

modf(-10 + 50 - 10^2 * 5 / 6) = -0.3333
modf(-10 + 50 - 10^2 * 5 / 6) = -43

nCr

{{Math|ncr|17|5|t=y}}

(17)nCr(5) = 6,188

nPr

{{Math|npr|17|5|t=y}}

(17)nPr(5) = 742,560

Number of Runs

{{Math|ex|0.3872|0.3872|0.2256}}<br />
{{Math|ng|0.3872|0.3872|0.2256}}

6 – 7
27 ± 9

Power

{{Math|pow|4|2|t=y}}<br />
{{Math|4<sup>2</sup>|t=y}}<br />
{{Math|4{{exp|2}}|t=y}}<br />
or<br />
{{Math|4^2|t=y}}

(4)2 = 16
42 = 16
42 = 16
or
4^2 = 16

Rand

{{Math|rand}}<br />
{{Math|rand|100}}<br />
{{Math|rand|100|seed=0}}<br />
{{Math|rand|100|seed=0}}<br />
{{Math|rand|-100|100}}<br />
{{Math|rand|-100|100|seed={{#var:seed}}}}

0.55197120064496
56
91
91
10
10

Round

{{Math|-10 + 50 - 10^2 * 5 / 6|round=10|t=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|round=1|t=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|round=0.1|t=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|round=0.001|t=y}}<br />
{{Math|-10 + 50 - 10^2 * 5 / 6|round=0.0000001|t=y}}<br />
or<br />
{{Math|round|-10 + 50 - 10^2 * 5 / 6|10|t=y}}<br />
{{Math|round|-10 + 50 - 10^2 * 5 / 6|1|t=y}}<br />
{{Math|round|-10 + 50 - 10^2 * 5 / 6|0.1|t=y}}<br />
{{Math|round|-10 + 50 - 10^2 * 5 / 6|0.001|t=y}}<br />
{{Math|round|-10 + 50 - 10^2 * 5 / 6|0.0000001|t=y}}

-10 + 50 - 10^2 * 5 / 6 = -40
-10 + 50 - 10^2 * 5 / 6 = -43
-10 + 50 - 10^2 * 5 / 6 = -43.3
-10 + 50 - 10^2 * 5 / 6 = -43.333
-10 + 50 - 10^2 * 5 / 6 = -43.3333333
or
-10 + 50 - 10^2 * 5 / 6 = -40
-10 + 50 - 10^2 * 5 / 6 = -43
-10 + 50 - 10^2 * 5 / 6 = -43.3
-10 + 50 - 10^2 * 5 / 6 = -43.333
-10 + 50 - 10^2 * 5 / 6 = -43.3333333

Sqrt

{{Math|sqrt|-10 + 50 - 10^2 * 5 / 6|t=y}}

(-10 + 50 - 10^2 * 5 / 6)0.5 = 6.5828

Summation

{{Math|sum|-2|-1|0|2|3|5|7|11}}

25

Trigonometric Functions

Sine

{{Math|sin|#pi|t=y}}<br />
or<br />
{{Math|sin(#pi)|t=y}}

sin(π) = 0
or
sin(π) = 0

Cosine

{{Math|cos|#pi|t=y}}<br />
or<br />
{{Math|cos(#pi)|t=y}}

cos(π) = -1
or
cos(π) = -1

Tangent

{{Math|tan|#pi|t=y}}<br />
or<br />
{{Math|tan(#pi)|t=y}}

tan(π) = 0
or
tan(π) = 0

Hyperbolic Sine

{{Math|sinh|#pi|t=y}}

sinh(π) = 11.5487

Hyperbolic Cosine

{{Math|cosh|#pi|t=y}}

cosh(π) = 11.592

Hyperbolic Tangent

{{Math|tanh|#pi|t=y}}

tanh(π) = 0.9963

Inverse Sine

{{Math|asin|0|t=y}}<br />
or<br />
{{Math|asin(0)|t=y}}

asin(0) = 0
or
asin(0) = 0

Inverse Cosine

{{Math|acos|-1|t=y}}<br />
or<br />
{{Math|acos(-1)|t=y}}

acos(-1) = 3.1416
or
acos(-1) = 3.1416

Inverse Tangent

{{Math|atan|0|t=y}}<br />
or<br />
{{Math|atan(0)|t=y}}

atan(0) = 0
or
atan(0) = 0

Truncate

{{Math|trunc|-10 + 50 - 10^2 * 5 / 6|t=y}}<br />
or<br />
{{Math|trunc(-10 + 50 - 10^2 * 5 / 6)|t=y}}

-10 + 50 - 10^2 * 5 / 6 = -43
or
trunc(-10 + 50 - 10^2 * 5 / 6) = -43

Using Previous Answers

{{Math|-10 + 50 - 10^2 * 5 / 6|t=y}}<br />
{{Math|abs({{#var:x}}) mod 9|t=y|var=y}}<br />
{{Math|{{#var:x}} + {{#var:y}}|mt-a=y}}

-10 + 50 - 10^2 * 5 / 6 = -43.3333
abs(-43.333333333333) mod 9 = 7
-43.333333333333 + 7 = -36.3333


Visit Template:Math/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.