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

Sample 3 using a function: cubicRoot(x)

Author: kegasaExecutions: 21

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

Manage Bookmarks
Sample 3 Using Functions
cubicRoot(x)
function cubicRoot(x)
{
if (x > 0.0) {
return x^(1/3);
} else {
return -(-x)^(1/3);
}
}

y = cubicRoot(x);
print(y);
x
y 

No customer feedback for this calculation yet.