# Khan/khan-exercises

Trig identity exercise

1 parent fb9c771 commit acc0089467ec46909c90f8a2214e470704b26cde igorT committed Jul 22, 2011
Showing with 276 additions and 0 deletions.
1. +57 −0 exercises/trig_identities_1.html
2. +219 −0 utils/convert-values.js
57 exercises/trig_identities_1.html
 @@ -0,0 +1,57 @@ + + + + Trigonometry identities 1 + + + +
+
+ trigTypes[randRange(0,trigTypes.length-1)] + + trigTypes[randRange(0,trigTypes.length-1)] + END_TYPE.name + START_TYPE.name + function(){ + if ( START_TYPE.name === "tan" ){ + return randFromArray([0,30,45,60]); + } + else if ( START_TYPE.name === "sec" ){ + return randFromArray([0,30,45,60]); + } + else if (START_TYPE.name === "csc" ){ + return randFromArray([30,45,60,90]); + } + else{ + return randFromArray([0,30,45,60,90]); + }}() + + + START_TYPE.print( ANGLE ) + END_TYPE.print( ANGLE ) + findSteps(START_TYPE , END_TYPE, ANGLE) + + randFromArray([0,30,45,60,90]) + randFromArray([0,30,45,60,90]) + ["","","","","","","","","","","",""] + +
+ +
+
+

Given that x is in first quadrant and \FUN_NAME x is FUN_VALUE what is \END_NAME x ?

+ + +

SOLUTION

+
+
• trigTypes[randRange(0,trigTypes.length-1)].print( randFromArray([0,30,45,60,90]) )
• +
+
+
+ +
+

value

+
+
+ +
219 utils/convert-values.js