"함수 sin()"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
3번째 줄: 3번째 줄:
==Excel==
==Excel==
[[category: Excel]]
[[category: Excel]]
<source lang='PHP'>
<syntaxhighlight lang='PHP'>
=SIN(1)
=SIN(1)
//
//
=SIN(PI())
=SIN(PI())
//
//
</source>
</syntaxhighlight>
==PHP==
==PHP==
[[category: PHP]]
[[category: PHP]]
<source lang='PHP'>
<syntaxhighlight lang='PHP'>
echo sin(1);
echo sin(1);
//
//
echo sin(M_PI);
echo sin(M_PI);
//
//
</source>
</syntaxhighlight>


==PowerShell==
==PowerShell==
[[category: PowerShell]]
[[category: PowerShell]]
<source lang='PowerShell'>
<syntaxhighlight lang='PowerShell'>
[math]::sin(1)
[math]::sin(1)
#
#
[math]::sin([math]::pi)
[math]::sin([math]::pi)
#
#
</source>
</syntaxhighlight>


==Python==
==Python==
[[category: Python]]
[[category: Python]]
<source lang='Python'>
<syntaxhighlight lang='Python'>
import math
import math
print math.sin(1)
print math.sin(1)
35번째 줄: 35번째 줄:
print math.sin(math.pi)
print math.sin(math.pi)
#
#
</source>
</syntaxhighlight>


==Ruby==
==Ruby==
[[category: Ruby]]
[[category: Ruby]]
<source lang='Ruby'>
<syntaxhighlight lang='Ruby'>
puts Math::sin(1)
puts Math::sin(1)
#
#
puts Math::sin(Math::PI)
puts Math::sin(Math::PI)
#
#
</source>
</syntaxhighlight>


==SQL==
==SQL==
50번째 줄: 50번째 줄:
===MySQL===
===MySQL===
[[category: MySQL]]
[[category: MySQL]]
<source lang='MySQL'>
<syntaxhighlight lang='MySQL'>
SELECT SIN(1);
SELECT SIN(1);
# 0.8414709848078965
# 0.8414709848078965
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:33 기준 최신판


1 Excel[ | ]

=SIN(1)
//
=SIN(PI())
//

2 PHP[ | ]

echo sin(1);
//
echo sin(M_PI);
//

3 PowerShell[ | ]

[math]::sin(1)
#
[math]::sin([math]::pi)
#

4 Python[ | ]

import math
print math.sin(1)
#
print math.sin(math.pi)
#

5 Ruby[ | ]

puts Math::sin(1)
#
puts Math::sin(Math::PI)
#

6 SQL[ | ]

6.1 MySQL[ | ]

SELECT SIN(1);
# 0.8414709848078965

7 같이 보기[ | ]

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