Method on @sym: cosd (x)

Symbolic cos function with input in degrees.

Example:

cosd (sym (60))
  ⇒ (sym) 1/2

syms x
y = cosd (x)
  ⇒ y = (sym)
         ⎛π⋅x⎞
      cos⎜───⎟
         ⎝180⎠

See also: @sym/acosd, @sym/cos.

Package: symbolic