Pythagorean Theorem
The relation a^2 + b^2 = c^2 in a right triangle, where c is the hypotenuse.
技术细节
Pythagorean Theorem functions relate angles to side ratios in right triangles. In computing, angles are typically in radians (π radians = 180°). Key identities: sin²θ + cos²θ = 1, sin(2θ) = 2sinθcosθ. Applications include wave generation (audio synthesis), rotation transforms (2D/3D graphics), signal processing (Fourier analysis), and geolocation (haversine formula for great-circle distance). JavaScript's Math.sin() expects radians, so convert degrees with: radians = degrees × π / 180.
示例
``` Trigonometric functions (right triangle): sin(θ) = opposite / hypotenuse cos(θ) = adjacent / hypotenuse tan(θ) = opposite / adjacent For a 30° angle: sin(30°) = 0.5, cos(30°) ≈ 0.866, tan(30°) ≈ 0.577 Radians: 180° = π rad → degrees × π / 180 = radians ```
相关格式
相关工具
P
Percentage Calculator
R
Ratio Calculator
A
Average Calculator
G
GCD & LCM Calculator
P
Prime Number Tools
E
Equation Solver
U
Unit Converter
F
Fraction Calculator
R
Roman Numeral Converter
F
Fibonacci Calculator
L
Logarithm Calculator
S
Statistics Calculator
进
进制转换器
M
Matrix Calculator
T
Trigonometry Calculator