/geometric_lib

itmo lab

Primary LanguagePython

Math formulas

Area

  • Circle: S = πR²
  • Rectangle: S = ab
  • Square: S = a²

Perimeter

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