radians()radians()

Converte il valore dell'angolo in gradi in un valore in radianti, usando la formularadians = (PI / 180 ) * angle_in_degreesConverts angle value in degrees into value in radians, using formula radians = (PI / 180 ) * angle_in_degrees

SintassiSyntax

radians(un)radians(a)

ArgomentiArguments

  • a: angolo in gradi (un numero reale).a: Angle in degrees (a real number).

RestituisceReturns

  • Angolo corrispondente in radianti per un angolo specificato in gradi.The corresponding angle in radians for an angle specified in degrees.

EsempioExamples

print radians0 = radians(90), radians1 = radians(180), radians2 = radians(360) 

radians0radians0 radians1radians1 radians2radians2
1.57079632679491.5707963267949 3,141592653589793.14159265358979 6.283185307179596.28318530717959