当前位置: 首页 >> 中国IT研究网 > 数据 > >> 内容页

世界视点!sin函数计算器_sin函数

来源: 互联网 2023-05-27 03:01:23


(相关资料图)

1、用弧度, 而不是角度#include #include #define K (0.017453292519943295769236907684886l)int main(){ double dSin; dSin = sin (K*30); std::cout << dSin << std::endl; return 0;}。

本文分享完毕,希望对大家有所帮助。

关键词:
x 广告
x 广告

Copyright @  2015-2022 中国IT研究网版权所有  备案号: 沪ICP备2022005074号-4   联系邮箱:58 55 97 3@qq.com