新闻资讯
看你所看,想你所想

acos函式

acos函式

acos函式

acos函式是反余弦函式,是三角函式中的一员

基本介绍

  • 中文名:acos函式
  • 功 能:反余弦函式
  • 用 法:double acos(double x);
  • 函式值範围: [0,π]
函式名: acos
程式例:
#include <stdio.h>
#include <math.h> int main(void)
{
double result;
double x = 0.5; result = acos(x);
printf("The arc cosine of %lf is %lf\n", x, result);
return 0;
}
-1.0为π, 1为0。

转载请注明出处海之美文 » acos函式

相关推荐

    声明:此文信息来源于网络,登载此文只为提供信息参考,并不用于任何商业目的。如有侵权,请及时联系我们:ailianmeng11@163.com