|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMathUtility
public class MathUtility
Field Summary | |
---|---|
static double |
PI
Gives the value of pi to 5 decimal places. |
Method Summary | |
---|---|
static double |
circleArea(double radius)
Returns the area of the circle with the given radius. |
static double |
sphereVolume(double radius)
Returns the volume of the sphere with the given radius. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double PI
Method Detail |
---|
public static double circleArea(double radius)
radius
- Radius of the circle
public static double sphereVolume(double radius)
radius
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |