This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cs330_f2016:racketbasics [2016/08/31 22:27] morse |
cs330_f2016:racketbasics [2018/01/11 20:13] morse [Objective:] |
||
---|---|---|---|
Line 44: | Line 44: | ||
where ''angle'' is a number representing either degrees or radians, type is either '''degrees'' or '''radians'' (a symbol) indicating how ''angle'' is represented, and the value returned is the sin of ''angle''. | where ''angle'' is a number representing either degrees or radians, type is either '''degrees'' or '''radians'' (a symbol) indicating how ''angle'' is represented, and the value returned is the sin of ''angle''. | ||
- | Hint: use ''symbol=?'' to test for symbol equality: ''(symbol=? x 'degrees''. | + | Hint: use ''symbol=?'' to test for symbol equality: ''(symbol=? x 'degrees)''. |
---- | ---- |