You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

cubicEquation function

Author: kegasaExecutions: 26

※ This library was created by a member. This site is not responsible for its content.

Manage Bookmarks
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]);
a
b
c
d
x[0] 
x[1] 
x[2] 

No customer feedback for this calculation yet.