Log: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:3-->
<section begin="image"/>[[File:log.png|alt=The Log Block|thumb]]<section end="image"/>
==Usage== <!--T:4-->


<!--T:2-->
<!--T:2-->
<p id="tooltip">Returns the log (base 10) of the input.</p>
<p id="tooltip">Returns the log (base 10) of the input.</p>
==Syntax== <!--T:5-->
<!--T:6-->
Inputs in this block:
#a number
==Example== <!--T:7-->
<!--T:8-->
[[File:log_example.gif|alt=Log example gif|thumb]]
[[File:log_example.png|alt=Log example code|thumb]]
<!--T:9-->
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.)


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

Latest revision as of 16:43, 14 August 2023

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