Category
Trigonometry methods
Method
coshValueOf:
Summary
Pass a single number or a list of numbers. If a list, results must be coerced. Angles are in radians, and errors are returned as missing value.
Signature
+ (id)coshValueOf:(id)listOrNumber
Parameters
listOrNumber = a number or list of numbers
Result
A number or list of numbers
Availability
Version 1.0.0
Notes
Sample
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
set theResult to current application's SMSForder's coshValueOf:(45 / 180 * pi)
ASify from theResult
-->1.324609089252
theResult as real
-->1.324609089252
set theResult to current application's SMSForder's coshValueOf:{(30 / 180 * pi), (60 / 180 * pi), (90 / 180 * pi)}
ASify from theResult
-->{1.140238321076, 1.600286857702, 2.509178478658}
theResult as list
-->{1.140238321076, 1.600286857702, 2.509178478658}
Click here to open script in a script editor
ncG1vNJzZmirY2Ourq3ZqKWar6NjsLC5jqWYrZ2enrSpwNKwZZynnWSgqa3NnoOimqNkj7O1w6CciaSlqKyOrc2umKVngJa0pr%2BOnKasoIaWubaxrp%2BWZ6Ckork%3D