Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (50 sloc) 2.11 KB
<!DOCTYPE html>
<html data-require="math math-format convert-values">
<meta charset="UTF-8" />
<title>Trig identities 1</title>
<script src="../khan-exercise.js"></script>
<div class="exercise">
<div class="vars">
<var id="START_TYPE">trigTypes[randRange(0,trigTypes.length-1)]</var>
<var id="END_TYPE" data-ensure="START_TYPE !== END_TYPE && !(( === 'sin' || === 'cos') && === 'tan' ) ">trigTypes[randRange(0,trigTypes.length-1)]</var>
<var id="END_NAME"></var>
<var id="FUN_NAME"></var>
<var id="ANGLE">function(){
if ( === "tan" ){
return randFromArray([0,30,45,60]);
else if ( === "sec" ){
return randFromArray([0,30,45,60]);
else if ( === "csc" ){
return randFromArray([30,45,60,90]);
return randFromArray([0,30,45,60,90]);
<var id="FUN_VALUE">START_TYPE.print( ANGLE )</var>
<var id="SOLUTION">END_TYPE.print( ANGLE )</var>
<var id="STEPS">findSteps(START_TYPE , END_TYPE, ANGLE)</var>
<var id="WRONG_ANGLE1" data-ensure="ANGLE !== WRONG_ANGLE1"> randFromArray([0,30,45,60,90])</var>
<var id="WRONG_ANGLE2" data-ensure="ANGLE !== WRONG_ANGLE2 && WRONG_ANGLE2 !== WRONG_ANGLE1"> randFromArray([0,30,45,60,90])</var>
<var id="NUM_ANSWERS">["","","","","","","","","","","",""]</var>
<div class="problems">
<p class="question">Given that x is in first quadrant and <code> \<var>FUN_NAME</var> x </code> is <code><var>FUN_VALUE</var></code> what is <code> \<var>END_NAME</var> x</code> ?</p>
<p class="solution"><code><var>SOLUTION</var></code></p>
<ul class="choices" data-show="4" data-none="true">
<li data-each="NUM_ANSWERS"><code><var>trigTypes[randRange(0,trigTypes.length-1)].print( randFromArray([0,30,45,60,90]) )</var></code></li>
<div class="hints">
<div data-each="STEPS as step"><p data-each="step as value"><code><var>value</var></code></p><hr></div>
Jump to Line
Something went wrong with that request. Please try again.