How to use the integral function from mathjs

Find comprehensive JavaScript mathjs.integral code examples handpicked from public code repositorys.

48
49
50
51
52
53
54
55
56
57
58
59
}


// Função para Integrais
function integrate() {
  let x = document.getElementById("calc").value;
  let y = math.integral(x, 'x').toString();
  document.getElementById("calc").value = y;
}


// adiciona o evento "keydown" para capturar as teclas pressionadas
fork icon0
star icon0
watch icon0

+ 2 other calls in file