• + 0 comments

    Javascript one-step solution:

    const sides=(literals, ...e)=>[
        (e[1]-(e[1]**2-16*e[0])**0.5)/4,
        (e[1]+(e[1]**2-16*e[0])**0.5)/4
    ];