Dear forum,
I am looking for a way to use the natural logarithm ln and Euler's number (constant e) in a math calculation that is part of a project. I spent some time searching but couldn't find any leads.
Can anyone help pointing me into the right direction?
Thanks
Answers
To get e, use
exp(1)
.https://processing.org/reference/exp_.html
To take the natural log, use
log()
.https://processing.org/reference/log_.html
Thank you. That was... unexpectedly easy.