You are viewing a single comment's thread. Return to all 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 ];
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Template Literals
You are viewing a single comment's thread. Return to all comments →
Javascript one-step solution: