This shows you the differences between two versions of the page.
uphp:functions:cos [2017/03/18 18:12] jeff |
uphp:functions:cos [2021/09/13 05:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======cos====== | ||
- | < | ||
- | |||
- | Return cosine of a radian angle | ||
- | |||
- | ====Description==== | ||
- | <well size=" | ||
- | <span style=" | ||
- | < | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | </ | ||
- | |||
- | ====Parameters==== | ||
- | < | ||
- | |||
- | ====Return Value==== | ||
- | Cosine of angle | ||
- | |||
- | ====Examples==== | ||
- | <code php> | ||
- | < | ||
- | $pi=3.14159; | ||
- | print(cos($pi)." | ||
- | print(cos($pi*2)." | ||
- | ?></ | ||
- | </ | ||
- | |||
- | ====See Also==== | ||
- | [[sin()]] - Return sine of a radian angle | ||