Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.