randRange(3, 10) randRange(3, 10) BC AC * AC + BC * BC formattedSquareRootOf(AC * AC + BC * BC) randFromArray([ "ABC", "BAC" ]) (ANGLE.substring(0,1) + ANGLE.substring(2)) (function(){ if ( OPPOSITE_NAME === "AC" ){ return AC; } else if ( OPPOSITE_NAME === "BC" ){ return CB; } return AB_STRING; })() "AB" AB_STRING ANGLE.substring(1) (function(){ if ( ADJACENT_NAME === "AC" ){ return AC; } else if ( ADJACENT_NAME === "BC" ){ return BC; } return AB_STRING; })() fraction( OPPOSITE_VALUE, ADJACENT_VALUE, false, false, false, false) fractionReduce( OPPOSITE_VALUE, ADJACENT_VALUE, false, false) "\\frac{" + OPPOSITE_VALUE + "}{" + formattedSquareRootOf(AB) + "}" fractionSQRoot( OPPOSITE_VALUE , AB ) "\\frac{" + ADJACENT_VALUE + "}{" + formattedSquareRootOf(AB) + "}" fractionSQRoot( ADJACENT_VALUE , AB )

\overline{AC} is AC units long

\overline{BC} is BC units long

\overline{AB} is AB_STRING units long

What is \sin(\angle ANGLE) ?

betterTriangle( BC, AC, "A", "B", "C", BC, AC, AB_STRING ); path([ [ 0.4, 0 ], [ 0.4, 0.4 ], [ 0, 0.4 ] ]);
SIN
  • COS
  • SIN
  • TAN
  • \dfrac{1}{AB}
  • \dfrac{1}{BC}
  • \dfrac{1}{AC}
  • \dfrac{2 \sqrt{2}}{AC}

SOH CAH TOA

Sin = Opposite over Hypotenuse

opposite = \overline{OPPOSITE_NAME} = OPPOSITE_VALUE

hypotenuse = \overline{HYPOTENUSE_NAME} = AB_STRING

\sin(\angle ANGLE)=SIMPLE_SIN

=SIN

\overline{AC} is AC units long

\overline{BC} is BC units long

\overline{AB} is AB_STRING units long

What is \cos(\angle ANGLE) ?

betterTriangle( BC, AC, "A", "B", "C", BC, AC, AB_STRING ); path([ [ 0.4, 0 ], [ 0.4, 0.4 ], [ 0, 0.4 ] ]);
COS

SOH CAH TOA

Cos = Adjacent over Hypotenuse

adjacent = \overline{ADJACENT_NAME} = ADJACENT_VALUE

hypotenuse = \overline{HYPOTENUSE_NAME} = AB_STRING

\cos(\angle ANGLE )=SIMPLE_COS

=COS

\overline{AC} is AC units long

\overline{BC} is BC units long

\overline{AB} is AB_STRING units long

What is \tan(\angle ANGLE) ?

betterTriangle( BC, AC, "A", "B", "C", BC, AC, AB_STRING ); path([ [ 0.4, 0 ], [ 0.4, 0.4 ], [ 0, 0.4 ] ]);
TAN

SOH CAH TOA

Tan = Opposite over Adjacent

opposite = \overline{OPPOSITE_NAME} = OPPOSITE_VALUE

adjacent = \overline{ADJACENT_NAME} = ADJACENT_VALUE

\tan(\angle ANGLE)=SIMPLE_TAN

=TAN