tan

calculate the tangent of given angle


Parameters

tan angle :integer :floating :complex :rational :quantity

Returns

  • :floating
  • :complex

Examples

copy
print tan 0 ; 0.0 print tan 0.3 ; 0.3093362496096232 print tan 1.0 ; 1.557407724654902

copy
tan to :complex [1 1] ; => 0.2717525853195119+1.083923327338695i

Related