Trig

Trig functions
scale = 50 p = 4 * a(1) /* pi */ d = p / 180  /* one degree in radians */ Using radians: " sin(-pi / 6) = "; s(-p / 6) " cos(3 * pi / 4) = "; c(3 * p / 4) " tan(pi / 3) = "; t(p / 3) " asin(-1 / 2) = "; y(-1 / 2) " acos(-sqrt(2) / 2) = "; x(-sqrt(2) / 2) " atan(sqrt(3)) = "; a(sqrt(3)) "Using degrees: " " sin(-30) = "; s(-30 * d) "  cos(135) = "; c(135 * d) "  tan(60) = "; t(60 * d) "  asin(-1 / 2) = "; y(-1 / 2) / d "  acos(-sqrt(2) / 2) = "; x(-sqrt(2) / 2) / d "  atan(sqrt(3)) = "; a(sqrt(3)) / d