Hi,
The coth() function is not available in Origin C (or in LabTalk), but you can define your function as below (by following how we defined it in the built-in Langevin function shipped with Origin)
double z = b * x;
double cothz = cosh(z)/sinh(z);
y = a * ( cothz - 1/z );
Let us know if that does not work.
Easwar
OriginLab