Ln

From StarLogo Nova Wiki
Revision as of 18:22, 16 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 Natural Log Block

Usage

Returns the natural log of the input.

Syntax

Inputs in this block:

  1. a number

Example

Ln example gif
Ln example code

This models the change in entropy for the gas, Argon (Ar). The initial and final states are configurable via sliders that the user can manipulate. The calculation for the change in entropy is continuous, meaning that as the slider values are changed, the entropy calculation will run automatically. The equation to calculate the change in entropy uses the ln function which is employed above.