linearly v0.32.0 • Docs
linearly v0.32.0 / scalar / coswave
Function: coswave()
coswave(
v
,period
):number
Returns a cosine wave with the given period. The output ranges from 0 to 1, and y = 0 when x = 0.
Parameters
• v: number
the input value
• period: number
= 1
the period of the wave
Returns
number
See
https://www.geogebra.org/calculator/d3grfqqe