Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
iex(61)> deg = 45
|
||||
45
|
||||
iex(62)> rad = :math.pi / 4
|
||||
0.7853981633974483
|
||||
iex(63)> :math.sin(deg * :math.pi / 180) == :math.sin(rad)
|
||||
true
|
||||
iex(64)> :math.cos(deg * :math.pi / 180) == :math.cos(rad)
|
||||
true
|
||||
iex(65)> :math.tan(deg * :math.pi / 180) == :math.tan(rad)
|
||||
true
|
||||
iex(66)> temp = :math.acos(:math.cos(rad))
|
||||
0.7853981633974483
|
||||
iex(67)> temp * 180 / :math.pi == deg
|
||||
true
|
||||
iex(68)> temp = :math.atan(:math.tan(rad))
|
||||
0.7853981633974483
|
||||
iex(69)> temp * 180 / :math.pi == deg
|
||||
true
|
||||
Loading…
Add table
Add a link
Reference in a new issue