Files
geometric_lib_fork/docs/README.md
T

14 lines
253 B
Markdown

# Math formulas
## Area
- Circle: S = πR²
- Rectangle: S = ab
- Square: S = a²
- Hexagon: S = ((3 * 3**0.5)/2)a**2
- Pentagon: S = 5/2*a*h
## Perimeter
- Circle: P = 2πR
- Rectangle: P = 2a + 2b
- Square: P = 4a
- Hexagon: P = 6a
- Pentagon: P = 5a