< Back
Get-TriangleArea
Post
NAME Get-TriangleArea
SYNOPSIS
Gets the area of a triangle
SYNTAX
Get-TriangleArea -Base <Double> -Height <Double> [<CommonParameters>]
Get-TriangleArea -LengthOfSideA <Double> -LengthOfSideB <Double> -AngleC <Double> [-InDegrees] [<CommonParameters>]
DESCRIPTION
Gets the area of a triangle, by solving the following equation:
S = 1/2 * base * height
PARAMETERS
-Base <Double>
The base of the triangle
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Height <Double>
The height of the triangle
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-LengthOfSideA <Double>
The length of side A.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-LengthOfSideB <Double>
The length of side B
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-AngleC <Double>
The angle of C, in radians (unless -InDegrees is also set)
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-InDegrees [<SwitchParameter>]
If set, angles will be in degrees
Required? false
Position? named
Default value False
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
RELATED LINKS
SYNOPSIS
Gets the area of a triangle
SYNTAX
Get-TriangleArea -Base <Double> -Height <Double> [<CommonParameters>]
Get-TriangleArea -LengthOfSideA <Double> -LengthOfSideB <Double> -AngleC <Double> [-InDegrees] [<CommonParameters>]
DESCRIPTION
Gets the area of a triangle, by solving the following equation:
S = 1/2 * base * height
PARAMETERS
-Base <Double>
The base of the triangle
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Height <Double>
The height of the triangle
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-LengthOfSideA <Double>
The length of side A.
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-LengthOfSideB <Double>
The length of side B
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-AngleC <Double>
The angle of C, in radians (unless -InDegrees is also set)
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-InDegrees [<SwitchParameter>]
If set, angles will be in degrees
Required? false
Position? named
Default value False
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
RELATED LINKS