Geometric_lib contains various functions for working with geometric shapes.
Geometric_lib has the ability to work with the following geometric shapes:
Usage examples:
import circle
area(1) // 3,14159
perimeter(2) // 12,56637Usage examples:
import Rectangle
area(1, 2) // 2
perimeter(1, 3) // 8Usage examples:
import Square
area(3) // 9
perimeter(3) // 12Usage examples:
import Triangle
area(3, 2) // 3
perimeter(3, 4, 5) // 12- Circle: S = πR²
- Rectangle: S = ab
- Square: S = a²
- Triangle: S = ½ ah
- Circle: P = 2πR
- Rectangle: P = 2a + 2b
- Square: P = 4a
- Triangle: P = a + b + c
Project creation date: 9/09/2023
Last commit: 29/09/2023
| Hash commit | Branch and HEAD | Text Commit |
|---|---|---|
| - 5e7802c747ca82b7c06e0f1853e3fd5c490402b6 | (HEAD -> main, origin/main, origin/HEAD) | fix: fixed the perimeter function |
| - 8e3376788a9c6974a1986abbc7f6d7cb2b29cd3c | feat: add triangle.py | |
| - 817fb1454dc9b06096dbf1d30230545c755ecf6b | feat: add rectangle.py | |
| - d078c8d9ee6155f3cb0e577d28d337b791de28e2 | L-03: Docs added | |
| - 8ba9aeb3cea847b63a91ac378a2a6db758682460 | L-03: Circle and square added | |
| - 054ca9bd12319e001477c2a18961243e9943fc33 | Add description of functions | |
| - 03820d2606f1d1d6360cc4c42606e2282611a636 | feat: typo fixed | |
| - 176089e305a7be8fa5cafdb50f26ff6d1e268605 | feat: typo fixed | |
| - 41b59edbe769712bd6638a778214facecd5cd23d | feat: typo fixed | |
| - 11bdd25861246236d0c55bfe679cf5c9ad7ceec0 | feat: typo fixed | |
| - c33ecb587919a02114b0fe687b92e059ba86d39c | Add: description of functions | |
| - acbff82f9a1a8150ecba4659b8ca524e62e37569 | Add: description of functions | |
| - 8075cb7c52233c0e408fe7b7bdc09c0990fbc869 | Add: description of functions | |
| - 78d895b34ad67e591a37604d0e2d7482baf2cb2a | Add: All project documentation has been done |