Back to functions

lcm


Least Common Multiple

Gets the LCM of 2 polynomials

Usage: nerdamer("lcm(x)")


Parameters

expression x Returns the appropriate value if possible otherwise it returns the function with the simplified expression

EXAMPLES:
var x = nerdamer('lcm(x^2+2*x+1, x^2+6*x+5)');
console.log(x.toString())
var y = nerdamer('lcm(3, 21)');
console.log(y.toString());
OUTPUT:
Back to functions