Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 30, 2019 01:32
Show Gist options
  • Save parzibyte/e2bf1d1f8d5b3876fdd66f4f624df865 to your computer and use it in GitHub Desktop.
Save parzibyte/e2bf1d1f8d5b3876fdd66f4f624df865 to your computer and use it in GitHub Desktop.
double numero = 125;
double raizCubica = Math.pow(miNumero, (double) 1 / 3);
System.out.printf("Raíz cúbica de %.2f es %.2f\n", numero, raizCubica);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment