This project is part of the Coursera Android App Development course. It consists of a set of methods to perform basic geometry calculations such as area, perimeter, volume, and surface area for different shapes.
The following geometry formulas are implemented in the Logic.java file:
rectangleArea(length, width)rectanglePerimeter(length, width)circleArea(radius)circleCircumference(radius)rightTriangleArea(base, height)rightTrianglePerimeter(base, height)boxVolume(length, width, depth)boxSurfaceArea(length, width, depth)sphereVolume(radius)sphereSurfaceArea(radius)
- Java
- Android Studio
- Gradle Build Tool
All methods are implemented inside the Logic class under:
- Open the project in Android Studio.
- Navigate to
Logic.java. - The methods can be tested via unit tests or integrated into a user interface.