Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS1550 Fundamentals For Computer Graphics Trigonometry

Similar presentations


Presentation on theme: "CS1550 Fundamentals For Computer Graphics Trigonometry"β€” Presentation transcript:

1 CS1550 Fundamentals For Computer Graphics Trigonometry
Sumanth Shankar California State University, Los Angeles

2 Trigonometric Relationships
The intimate relationship between sin and cos is cos (𝛽) = sin (𝛽+90ΒΊ) Pythagoras theorem is used to derive following relationships 1) tan (𝛽) = sin (𝛽) cos (𝛽)

3 Trigonometric Relationships
2) 𝑠𝑖𝑛 2 𝛽 + π‘π‘œπ‘  2 𝛽 =1 3) 1+π‘‘π‘Žπ‘› 2 𝛽 = 𝑠𝑒𝑐 2 𝛽 4) 1+π‘π‘œπ‘‘ 2 𝛽 = π‘π‘œπ‘ π‘’π‘ 2 𝛽

4 Sine rule The sine rule relates angles and side lengths for a triangle. Consider an arbitrary triangle C b a A B c

5 Sine rule The sine rule states π‘Ž sin 𝐴 = 𝑏 sin 𝐡 = 𝑐 s𝑖𝑛 𝐢

6 The cosine rule The cosine rules are π‘Ž 2 = 𝑏 2 + 𝑐 2 βˆ’2𝑏𝑐 π‘π‘œπ‘  𝐴
π‘Ž 2 = 𝑏 2 + 𝑐 2 βˆ’2𝑏𝑐 π‘π‘œπ‘  𝐴 𝑏 2 = 𝑐 2 + π‘Ž 2 βˆ’2π‘π‘Ž π‘π‘œπ‘  𝐡 𝑐 2 = π‘Ž 2 + 𝑏 2 βˆ’2π‘Žπ‘ π‘π‘œπ‘  𝐢

7 The cosine rule 4) a =𝑏 π‘π‘œπ‘  𝐢 +𝑐 cos 𝐡 5) b =𝑐 π‘π‘œπ‘  𝐴 +π‘Ž cos 𝐢 6) c =π‘Ž π‘π‘œπ‘  𝐡 +𝑏 cos 𝐴

8 Compound Angles Two sets of compound trigonometric relationships show how to add and subtract two different angles and multiples of the same angle. sin(A±𝐡)= sin 𝐴 cos 𝐡 ± cos(A)sin(B) cos(A±𝐡)= cos 𝐴 cos 𝐡 ±sin(A)sin(B)

9 Compound Angles 3) tan(A±𝐡) = tan 𝐴 ± tan⁑(𝐡) 1± tan 𝐴 tan⁑(𝐡)

10 Perimeter Relationships
The perimeter of a triangle is calculated using s = 1 2 (a + b + c) The relationships that integrate angles with the perimeter of a triangle are: 1) sin 𝐴 2 = √ (π‘ βˆ’π‘)(π‘ βˆ’π‘) 𝑏𝑐

11 Perimeter Relationships
2) cos 𝐴 2 = √ 𝑠(π‘ βˆ’π‘Ž) 𝑏𝑐 3) sin(A) = 2 𝑏𝑐 βˆšπ‘ (π‘ βˆ’π‘Ž)(π‘ βˆ’π‘)(π‘ βˆ’π‘)


Download ppt "CS1550 Fundamentals For Computer Graphics Trigonometry"

Similar presentations


Ads by Google