Log

From StarLogo Nova Wiki
Revision as of 18:36, 14 August 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
The Log Block

Usage

Returns the log (base 10) of the input.

Syntax

Inputs in this block:

  1. a number

Example

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.)