Permalink
Browse files

Round correct answer in law_of_cosines to the nearest degree

Test plan: tested locally with http://localhost:8000/exercises/law_of_cosines.html?seed=75&problem=sss-find-angle&debug

Auditors: stephanie
  • Loading branch information...
beneater committed Nov 1, 2012
1 parent 192a4cc commit 91394818f380fcbea4d9484cdc8b37ec0101f74a
Showing with 1 addition and 1 deletion.
  1. +1 −1 exercises/law_of_cosines.html
@@ -198,7 +198,7 @@
SIDES[UNKNOWN] * SIDES[UNKNOWN],
2 * KNOWN_SIDE_1 * KNOWN_SIDE_2)
</var>
- <var id="SOLUTION">roundTo(1, acos(
+ <var id="SOLUTION">roundTo(0, acos(
(KNOWN_SIDE_1 * KNOWN_SIDE_1 +
KNOWN_SIDE_2 * KNOWN_SIDE_2 -
SIDES[UNKNOWN] * SIDES[UNKNOWN]) / (2 *

0 comments on commit 9139481

Please sign in to comment.