Multiple (x × y)

Inputs

  • Number X
  • Number Y

Outputs

  • X * Y

Algorithm

/**
 * Multiple (x × y): 
 *
 * @param x1 Number X
 * @param x2 Number Y
 * @return {Array}
 */
function neuron3(x1, x2)
{
math.config({number: 'BigNumber', precision: 64}); return [math.eval(Number(x1) + '*'+Number(x2)).toString()];
}

console.log(neuron3(684, 328));

Create your family tree for free