Ln

From StarLogo Nova Wiki
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.