ABS returns an absolute value of a numerical expression.

Syntax

ABS(NumExp)

Arguments

  • NumExp is a numerical expression 

Remarks

  1. The absolute value of NumExp indicates its magnitude without regard to its sign.

Examples

ABS(a)

returns 3 whether a has value 3 or -3.

Example knowledgebases

Download

An example knowledgebase of this function can be downloaded here.

Description

Input 

A and B are dimensionless input values.

Relations

The number NumExp is given by the relation

NumExp = A + B

Our topgoal AbsoluteNumExp is given by the relation

AbsoluteNumExp = ABS(NumExp)

Solution

For example, when putting A=-2 and B=-3 as input, the solution becomes

AbsoluteNumExp = 5

 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview

  • No labels