함수 cos()


1 Excel[ | ]

=COS(1)
// 0.540302306
=COS(PI())
// -1

2 PHP[ | ]

echo cos(1);
// 0.54030230586814
echo cos(M_PI);
// -1

3 PowerShell[ | ]

[math]::cos(1)
# 0.54030230586814
[math]::cos([math]::pi)
# -1

4 Python[ | ]

import math
print math.cos(1)
# 0.540302305868
print math.cos(math.pi)
# -1.0

5 Ruby[ | ]

puts Math::cos(1)
# 0.5403023058681398
puts Math::cos(Math::PI)
# -1.0

6 SQL[ | ]

6.1 MySQL[ | ]

SELECT COS(1);
# 0.5403023058681398

7 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}