Log

From StarLogo Nova Wiki
Other languages:
The Log Block

Usage

Returns the log (base 10) of the input.

Syntax

Inputs in this block:

  1. a number

Example

Log example code

pH is the negative log of the concentration of Hydronium ions. This model simulates the change in pH of an aqueous solution as more acid is added to it. (Each ‘H+’ agent represents one millionth of a mole of Hydronium.)