Exp ( Returns The Exponential Function Value ) - Mitsubishi QD51 Programming Manual

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
EXP
Function
• Returns the exponential function value of base e (e=2.718281).
EXP ( <numeric expression> )
Syntax
numeric expression
E=EXP(10)
Examples
• The EXP function returns the exponential function value of base e.
Description
• Specify 87.33655 or smaller to <numeric expression>. An "Overflow" error occurs if it
exceeds this value.
• The EXP function calculates in single precision.
Program Example
10 ' Calculates the value of e^5.2
20 A=5.2
30 B=EXP(A)
50 PRINT "e^5.2=";B
60 END
RUN
e^5.2= 181.272
OK
11 - 66
EXPonential
• • • •
• • • •
REMARK
See the LOG function.
Specify the multiplicator n of e
Calculates EXP(10) and stores it in E.
:
'Calculates e^5.2
MELSEC-Q
n
.
11 - 66

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents