| Visual Basic (Declaration) | |
|---|---|
Public Shared Sub AddPowerTerm( _ ByVal coefficient As Double, _ ByVal exponent As Double _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public static void AddPowerTerm( double coefficient, double exponent ) | |
Parameters
- coefficient
- A double which is the coefficient of the term (i.e.
a_1above). - exponent
- A double which is the exponent of the variable of the term (i.e.
nabove).
This elements will take the follow form:
a_1 * x^n,
where a_1, n are arbitrary real numbers.