-
-
Save parzibyte/da2626816bad1e36583e2499054c53f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float resolverEcuacion(float valor) { | |
// Con la ecuación: x^3 + 4x^2 -10 | |
return pow(valor, 3) + 4 * pow(valor, 2) - 10; | |
} | |
float resolverDerivada(float valor) { | |
// Con la ecuación: 2x^2 + 8x | |
return pow((2 * valor), 2) + 8 * valor; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment