October 2005
Intermediate to advanced
372 pages
11h 35m
English
deg2rad()
float deg2rad ( float num )The deg2rad() function converts degrees to radians. Radians are calculated as being $degrees multiplied by the mathematical constant pi, then divided by 180.
$sin1 = sin(deg2rad(80));