|
WebCab Bonds Demo (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Local interface of Developer. This interface provides the same functionality as the Developer remote interface.
Developer| Method Summary | |
double |
sumArithmeticSeries(double firstTerm,
double commonDifference,
int numberOfTerms)
Method sumArithmeticSeries(double, double, int) as defined in the Developer remote interface. |
double |
sumFiniteGeometricSeries(double firstTerm,
double commonRatio,
int numberOfTerms)
Method sumFiniteGeometricSeries(double, double, int) as defined in the Developer remote interface. |
double |
sumInfiniteGeometricSeries(double firstTerm,
double commonRatio)
Method sumInfiniteGeometricSeries(double, double) as defined in the Developer remote interface. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
public double sumArithmeticSeries(double firstTerm,
double commonDifference,
int numberOfTerms)
throws DeveloperDemoException
Description copied from the Developer interface:
Returns the sum of a finite arithmetic series.
firstTerm - the first term of the seriescommonDifference - the common difference between the terms of the arithmetic progressionnumberOfTerms - the number of terms in the series
DeveloperDemoExceptionDeveloper.sumArithmeticSeries(double, double, int)
public double sumFiniteGeometricSeries(double firstTerm,
double commonRatio,
int numberOfTerms)
throws DeveloperDemoException
Description copied from the Developer interface:
Returns the sum of a finite geometric series.
firstTerm - the first term of the geometric seriescommonRatio - the common ratio of the terms within the seriesnumberOfTerms - the number of terms which the series contains
DeveloperDemoExceptionsumInfiniteGeometricSeries(double, double),
Developer.sumFiniteGeometricSeries(double, double, int)
public double sumInfiniteGeometricSeries(double firstTerm,
double commonRatio)
throws DeveloperDemoException
Description copied from the Developer interface:
Returns the sum of an infinite geometric series.
An infinite geometric series is an indefinite sum of terms and is denoted by:
S=a+aR2+aR3+...
where `...' denotes that the sum extends in a similar fashion indefinitely.
If the modulus (i.e. absolute value) of the common ratio (R above) is greater or equal to one then the series will diverge. The series can diverge in one of two ways:
firstTerm - the first term of the geometric seriescommonRatio - the common ratio of the terms within the series
DeveloperDemoExceptionsumFiniteGeometricSeries(double, double, int),
Developer.sumInfiniteGeometricSeries(double, double)
|
WebCab Bonds Demo (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||