四次方程數函數
作者: kegasa執行次數: 23
※ 本程式庫由會員建立。本站不對其內容負責。
四次方程數函數
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] |
當四次方程式解的公式僅具有實數解時的程式碼
https://hiroyukichishiro.com/equation-formula-in-c-language/
https://hiroyukichishiro.com/equation-formula-in-c-language/
目前還沒有關於此計算的用戶評價。