sin

calculate the sine of given angle


Parameters

sin angle :integer :floating :complex :rational :quantity

Returns

  • :floating
  • :complex

Examples

copy
print sin 0 ; 0.0 print sin 0.3 ; 0.2955202066613395 print sin 1.0 ; 0.8414709848078965

copy
sin to :complex [1 1] ; => 0.4983370305551868-0.5910838417210451i

Related