Ln: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
(duplicate file already uploaded)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:3-->
<section begin="image"/>[[File:ln.png|alt=The Natural Log Block|thumb]]<section end="image"/>
==Usage== <!--T:4-->
<!--T:2-->
<p id="tooltip">Returns the natural log of the input.</p>
==Syntax== <!--T:5-->
<!--T:6-->
Inputs in this block:
#a number
==Example== <!--T:7-->
<!--T:8-->
[[File:set_label_to_example.gif|alt=Ln example gif|thumb]]
[[File:ln_example.png|alt=Ln example code|thumb]]
<!--T:9-->
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.


<!--T:1-->
<!--T:1-->

Latest revision as of 18:22, 16 August 2023

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.