JSFiddle - React, Tailwind, and code Playground
by hirako2000
JavaScript
function answer() {
x = (6 + Math.sqrt(Math.pow(6, 2) - 4 * 1 * (-11))) / 2;
x = (6 - Math.sqrt(Math.pow(6, 2) - 4 * 1 * (-11))) / 2;
return `The roots are ${x1} and ${x2}`;
}answer();