- :floating
- :complex
cos
calculate the cosine of given angle
Parameters
cos angle :integer :floating :complex :rational :quantity
Returns
Examples
copyprint cos 0 ; 1.0 print cos 0.3 ; 0.955336489125606 print cos 1.0 ; 0.5403023058681398
copycos to :complex [1 1] ; => 0.8337300251311491-0.9888977057628651i