SQRT_ – Square root

Block SymbolLicensing group: STANDARD
PIC

Function Description
The SQRT_ block computes the square root of the input u. The output is then

y = u.

In case u < 0, the error indicator is activated (E = on) and the output y is set to the substitute value y = yerr.

Input

u

Analog input of the block

double

Outputs

y

Square root of the input signal

double

E

Error flag

bool

off ..

No error

on ...

Square root of negative number

Parameter

yerr

Substitute value for an error case  1.0

double

2019 © REX Controls s.r.o., www.rexygen.com