# Khan/khan-exercises

### Subversion checkout URL

You can clone with
or
.
Older
100644 91 lines (82 sloc) 3.122 kB
 aaee042 Add unit circle exercise beneater authored Sep 26, 2011 1 bd7ac37 Remove conflicting jquery-color from utils beneater authored Nov 14, 2011 2 aaee042 Add unit circle exercise beneater authored Sep 26, 2011 3 65eec09 Content-Type meta tag for libxml2 compatibility spicyj authored Jan 4, 2012 4 aaee042 Add unit circle exercise beneater authored Sep 26, 2011 5 Unit circle 6 7 8 9
10 11
12
13
14 true 15 randRangeNonZero( -90, 90 ) * 5 16 ANGLE + "^{\\circ}" 17 randFromArray( [ "cos", "sin" ] ) 18 { "cos": "cosine", "sin": "sine"}[FN] 19 { "cos": "x", "sin": "y"}[FN] 20 roundTo(3, { "cos": Math.cos(ANGLE * (Math.PI/180)), "sin": Math.sin(ANGLE * (Math.PI/180)) }[FN]) 21 22
23 24

d6fbb1a Unit circle tweaks spicyj authored Sep 27, 2011 25 \FN(PRETTY_ANGLE) = \text{?} aaee042 Add unit circle exercise beneater authored Sep 26, 2011 26

27 28
29

fee2760 Clarify unit circle instruction, re #3395 pkuperman authored Sep 30, 2011 30 Move the orange point around the unit circle and select an angle in order to find the FNNAME value above. aaee042 Add unit circle exercise beneater authored Sep 26, 2011 31

32
33 initUnitCircle( DEGREES ); 34
35
36 37
SOLUTION
38 39
40

41 To find the FNNAME using the unit circle, first find the angle. 42 Drag the orange point around the circle until PRETTY_ANGLE is selected. 43

44
45

46 The correct angle is selected. Remember, the FNNAME of an angle is represented by the 47 COORD coordinate of a point on the unit circle. 48

49
50 goToAngle( ANGLE ); 51
52
53
54

55 The COORD coordinate of the point is SOLUTION, 56 so FN(PRETTY_ANGLE) = SOLUTION. 57

58
59 goToAngle( ANGLE ); 60 showCoordinates( ANGLE ); 61
62
63
64
65 66 67
68
69 false 70 randFromArray([ 71 -6*PI/2, -5*PI/2, -7*PI/3, -9*PI/4, 72 -2*PI, -11*PI/6, -7*PI/4, -5*PI/3, -3*PI/2, -4*PI/3, -5*PI/4, -7*PI/6, 73 -PI, -5*PI/6, -3*PI/4, -2*PI/3, -PI/2, -PI/3, -PI/4, -PI/6, -PI/12, 74 PI/12, PI/6, PI/4, PI/3, PI/2, 2*PI/3, 3*PI/4, 5*PI/6, PI, 75 7*PI/6, 5*PI/4, 4*PI/3, 3*PI/2, 5*PI/3, 7*PI/4, 11*PI/6, 2*PI, f9d1c59 Fix #3413 - Stray comma confused IE beneater authored Sep 29, 2011 76 9*PI/4, 7*PI/3, 5*PI/2, 6*PI/2 aaee042 Add unit circle exercise beneater authored Sep 26, 2011 77 ]) 78 piFraction(ANGLE) 79 randFromArray( [ "cos", "sin" ] ) 80 { "cos": "cosine", "sin": "sine"}[FN] 81 { "cos": "x", "sin": "y"}[FN] 82 roundTo(3, { "cos": Math.cos(ANGLE), "sin": Math.sin(ANGLE) }[FN]) 83 84
85
86 87
88
89 90
Something went wrong with that request. Please try again.