- Run
python calculate.py - Enter the figure name. Available are Circle, Square.
- Enter the function: Area or Perimeter.
- Enter figure sizes. Radius for circle, one side for square.
- Get the answer!
- Circle:
S = πR² - Rectangle:
S = ab - Square:
S = a² - Triangle:
S = sqrt(p * (p-a) * (p-b) * (p-c))where p is semiperimeter
HEAD
- Circle: P = 2πR
- Rectangle: P = 2a + 2b
- Square: P = 4a
- Circle:
P = 2πR - Rectangle:
P = 2a + 2b - Square:
P = 4a - Triangle:
P = a + b + c
94b208f (L-04: Experimental commit)