Implement 'sin' 'cos' and 'tan' in scheme

Issue #102 new
Katie Burke created an issue

Each of these should return the sine, cosine, or tangent of a number.
( http://www.scheme.com/tspl4/objects.html#./objects:s131 )

(sin 0.00)

Traceback (most recent call last):
File "stdin", line 1, col 2
RunTimeError: unbound variable 'sin'

(cos 0.0)

Traceback (most recent call last):
File "stdin", line 1, col 2
RunTimeError: unbound variable 'cos'

(tan 0.0)

Traceback (most recent call last):
File "stdin", line 1, col 2
RunTimeError: unbound variable 'tan'

Comments (2)

  1. Log in to comment