Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Perl Programming/Keywords/cos

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Perl CORE crypt Keywords The cos keyword cos is the trigonometric function cose that assumes that X is in radians. Syntax cos(X) Examples The code *PI = \3.1415926535; $a = 30; # in degrees $cos = cos($a/180*$PI); print "cos(" . $a . "°) = " . $cos . "\n"; prints the cosine of the angle of 30 degrees: 0.866025403791921 Perl CORE crypt Keywords