You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

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)

returns3 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: Function overview | Attribute overview | Constants overview | Dimensions overview

  • No labels