< Back
Measure-Interest
Post
NAME Measure-Interest
SYNOPSIS
Measures compound interest
SYNTAX
Measure-Interest [-InitialDeposit] <Double> [-Rate] <Double> [[-TimesCompoundedPerYear] <Double>]
[[-YearsInvested] <Double>] [<CommonParameters>]
DESCRIPTION
Measures compound interest, using the formula:
### P = C(1 + r/n)^nt
Where:
* P is the future value
* C is the initial deposit,
* r is the rate expressed as a fraction
* n is the number of times per year interest is compounded
* t is the number of years invested
PARAMETERS
-InitialDeposit <Double>
The initial deposit
Required? true
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Rate <Double>
The rate, expressed as a percentage
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-TimesCompoundedPerYear <Double>
The number of times interest is compounded per year
|Default 1
Required? false
Position? 3
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
-YearsInvested <Double>
The number of years you keep the investment
|Default 1
Required? false
Position? 4
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>
RELATED LINKS
SYNOPSIS
Measures compound interest
SYNTAX
Measure-Interest [-InitialDeposit] <Double> [-Rate] <Double> [[-TimesCompoundedPerYear] <Double>]
[[-YearsInvested] <Double>] [<CommonParameters>]
DESCRIPTION
Measures compound interest, using the formula:
### P = C(1 + r/n)^nt
Where:
* P is the future value
* C is the initial deposit,
* r is the rate expressed as a fraction
* n is the number of times per year interest is compounded
* t is the number of years invested
PARAMETERS
-InitialDeposit <Double>
The initial deposit
Required? true
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Rate <Double>
The rate, expressed as a percentage
Required? true
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-TimesCompoundedPerYear <Double>
The number of times interest is compounded per year
|Default 1
Required? false
Position? 3
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
-YearsInvested <Double>
The number of years you keep the investment
|Default 1
Required? false
Position? 4
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>
RELATED LINKS