Quartic Equation function
Author: kegasaExecutions: 23
※ This library was created by a member. This site is not responsible for its content.
Quartic Equation function
function cubicRoot(x1)
{
if (x1 > 0.0) {
return x1^(1/3);
} else {
return -(-x1)^(1/3);
}
}
numeric x[] = {0, 1, 2, 3};
quarticEquation(a, b, c, d, ee, x);
print(x[0]);
print(x[1]);
print(x[2]);
print(x[3]);
{
if (x1 > 0.0) {
return x1^(1/3);
} else {
return -(-x1)^(1/3);
}
}
numeric x[] = {0, 1, 2, 3};
quarticEquation(a, b, c, d, ee, x);
print(x[0]);
print(x[1]);
print(x[2]);
print(x[3]);
| x[0] | |
| x[1] | |
| x[2] | |
| x[3] |
Code for the quadratic formula when the equation has only real solutions
https://hiroyukichishiro.com/equation-formula-in-c-language/
https://hiroyukichishiro.com/equation-formula-in-c-language/
No customer feedback for this calculation yet.