cubicEquation function
Author: kegasaExecutions: 26
※ This library was created by a member. This site is not responsible for its content.
cubicEquation function
function cubicRoot(x1)
{
if (x1 > 0.0) {
return x1^(1/3);
} else {
return -(-x1)^(1/3);
}
}
numeric x[] = {0, 1, 2};
cubicEquation(a, b, c, d, x);
print(x[0]);
print(x[1]);
print(x[2]);
{
if (x1 > 0.0) {
return x1^(1/3);
} else {
return -(-x1)^(1/3);
}
}
numeric x[] = {0, 1, 2};
cubicEquation(a, b, c, d, x);
print(x[0]);
print(x[1]);
print(x[2]);
| x[0] | |
| x[1] | |
| x[2] |
No customer feedback for this calculation yet.