Sine Cosine Law Practice

Sine Cosine Law Practice
Loading the math board and drawing, please wait…
2020-12-07 16:09
This example demonstrates how to use the sine and cosine laws to solve triangle problems. Key math concepts involved include trigonometric functions, triangle side-angle relationships, and vector operations. The construction utilizes GeoGebra commands and objects like Random, If, Angle, Polygon, Textfield, Midpoint, Shuffle, AreEqual, Corner to generate random triangles and calculate sides and angles for practicing the laws. Suitable for high school mathematics learning and review, helping to deepen understanding and application skills of the sine and cosine laws.

GeoGebra Commands & Parameters

  1. Random(30, 80) → an3rana, 64
  2. Random(100, 150) → an3ranb, 103
  3. Random(30, 150) → an2ran, 112
  4. Random(2, 30) → sf, 28
  5. Random(-45, 80) → an1, -43
  6. If(an2ran ≤ 90, an3rana, an3ranb) → an3ran
  7. Angle(V3, V2, V1) → α
  8. Polygon(V1, V2, V3) → t1, v3, v1, v2
  9. Angle(V1, V3, V2) → β
  10. Angle(V2, V1, V3) → γ
  11. If(α > 90°, round(180° - asind((sin(gamr) / sv1 * sv2))), round(asind((sin(gamr) / sv1 * sv2)))) → alphansq2
  12. If(α > 90°, round(180° - asind((sv2 * sin(gamr) / ansq6side))), round(asind((sv2 * sin(gamr) / ansq6side)))) → alphansq6
  13. Textfield(stansv2) → InputBox1
  14. Textfield(stansv3) → InputBox2
  15. Midpoint(V3m, V2p) → Mv1
  16. Midpoint(V2m, V1p) → Mv3
  17. Midpoint(V3p, V1m) → Mv2
  18. Shuffle(qlist) → qlistsh, {1, 4, 2, 5, 6, 3}
  19. Angle(V3, V2, V1) → δ
  20. AreEqual(InputBox2, ansq1) → corr13
  21. AreEqual(InputBox1, ansq5) → corr5
  22. Textfield(stansalpha) → InputBox3
  23. If(qQ ≟ 1 ∨ qQ ≟ 3, ("x=" * Text[ansq1]), If[qQ ≟ 5, ("x=" * Text[ansq5]), If[qQ ≟ 2, ("\theta=" * Text[alphansq2]), If[qQ ≟ 4, ("\theta=" * Text[alphaansq4]), ("\theta=" * Text[alphansq6])]]]) → answtext
  24. Corner(5) → dims

AI Drawing Prompt Reference

Draw a triangle with randomly generated angles and side lengths, and calculate the sides and angles using the sine and cosine laws. First, generate three random angles, then create a triangle based on these angles. Calculate the side lengths and angles of the triangle, use text boxes to input the calculated results, and verify the answers by comparing them with the inputs.
The prompt above was compiled from the original drawing commands and is for reference only.