User Manual

MCP Series
Brushed DC Motor Controllers
MCP Series User Manual
146
FSINH
The FSINH operator calculates the oating point hyperbolic Sine of the value.
param var oat
result var oat
param = FLN 2.0
result = FSINH param
serout s_out,i9600,[“The hyperbolic sine of “,real param,” is “,real result,13]
FCOSH
The FCOSH operator calculates the oating point hyperbolic cosine of the value.
param var oat
result var oat
param = FLN 2.0
result = FCOSH param
serout s_out,i9600,[“The hyperbolic cosine of “,real param,” is “,real result,13]
FTANH
The FTANH operator calculates the oating point hyperbolic tangent of the value.
param var oat
result var oat
param = FLN 2.0
result = FTANH param
serout s_out,i9600,[“The hyperbolic tangent of “,real param,” is “,real result”,13]
FATANH
The FATANH operator calculates the oating point hyperbolic arc tangent of the value.
param var oat
result var oat
param = 0.6
result = FEXP (FATANH param)
serout s_out,i9600,[“The result is “,real result,13]