You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!DOCTYPE html><html><head><title>Calculator con boton x^2,x^3,x^4, sin(x), y x/1</title><meta charset="utf-8"><script type="text/javascript">function cube() { var num = document.getElementById("n1"); num.value = Math.pow(num.value, 3);}</script></head><body> <h1>Calculadora de ......su nombre y apellidos......</h1> Number: <input type="text" id="n1"><p> <button onclick="cube()"> x^3 </button></body></html>