This project deals with geometric measurements of various 2D and 3D shapes. This is a Java package that can be used by other programmers for any geometric calculations.
Geometry is one of the key modules in mathematics, also a part of our daily life. There are many geometric shapes we see in our life. Suppose a person wants to make a cardboard box to pack an object. He needs to take the measurements of that object. Then calculate the volume, height, and area it occupies. These measurements help him to make a perfect box. But it is not easy to remember all these formulas. Even we do, it takes time for calculations.
In this project, I have built a package "geometry". This package consists of methods to calculate the perimeter, area, and volume of some geometric shapes. Using these predefined methods a programmer can effortlessly get the Perimeter, Area, and Volume of geometric shapes.
Coming to the source code, I have used java since it is platform-independent also to take advantage of packages that can be imported. The zip file uploaded has "Maths" as the main folder which holds the package "geometry" and also a "test1.java" file which tests the working of the package.
Submitted by Gudipati Ganesh Yaswanth Kumar (GaneshGudipati)
Download packets of source code on Coders Packet