Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Math formulas

Area

  • Circle: S = πR²
  • Rectangle: S = ab
  • Square: S = a²
  • Triangle: S = a * h / 2

Perimeter

  • Circle: P = 2πR
  • Rectangle: P = 2a + 2b
  • Square: P = 4a
  • Triangle: P = a + b + c

##Examples

Circle

Функция для подсчета площади и периметра круга

Tip

Area: Input: r = 3 Output: 9π

Perimeter: Input: r = 3 Output: 6π

Rectangle

Функция для подсчета площади и периметра прямоугольника

Tip

Area: Input: a = 2, b = 3 Output: 6

Perimeter: Input: a = 2, b = 3 Output: 10

Square

Функция для подсчета площади и периметра квадрата

Tip

Area: Input: a = 7 Output: 49

Perimeter: Input: a = 7 Output: 28

Triangle

Функция для подсчета площади и периметра треугольника

Tip

Area: Input: a = 4, h = 6 Output: 12

Perimeter: Input: a = 4, b = 3, c = 2 Output: 9

History: e851933 - Add file rectangle 0426b9d - Fix bag perimeter 74f9d83 - Add tests

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages