Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the magnitude of the vector whose rise is A and whose run is B, multiplied by the respective constants constantA and constantB.
Syntax
MAGNITUDE(constantA, A, constantB, B )
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| constantA |
Required |
Number |
The constant by which to multiply the rise. |
| A |
Required |
Number |
The rise. |
| constantB |
Required |
Number |
The constant by which to multiply the run. |
| B |
Required |
Number |
The run. |
Remarks
MAGNITUDE is calculated according to the following formula:
SQRT((constantA * A)^2 + (constantB * B)^2)
Example
MAGNITUDE(1, 3, 1, 4)
Returns 5.