Table of Contents

EXPT

Function name

EXPT

ST call

PROGRAM EXPT_DEMO
  VAR
     REAL1,REAL2: REAL;
  END_VAR
 REAL2:= EXPT(IN1 := REAL1, IN2 := REAL2);
END_PROGRAM

Description

Returns the exponential function value with base of T, i.e. T^X, where X is the input value.

Inputs

InputType Description
IN1 ANY_REALInput value, base of the exponential function, T
IN2 ANY_REALInput value, X

Outputs

OutputType Description
ANY_REALOutput value

Application example