Log/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<section begin="image"/>[[File:log.png|alt=The Log Block|thumb]]<section end="image"/> | |||
==Usage== | |||
<p id="tooltip">Returns the log (base 10) of the input.</p> | |||
==Syntax== | |||
Inputs in this block: | |||
#a number | |||
==Example== | |||
[[File:log_example.gif|alt=Log example gif|thumb]] | |||
[[File:log_example.png|alt=Log example code|thumb]] | |||
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.) | |||
[[Category:Math]] | [[Category:Math]] | ||
[[Category:Code Block]] | [[Category:Code Block]] |
Latest revision as of 18:36, 14 August 2023
Usage
Returns the log (base 10) of the input.
Syntax
Inputs in this block:
- 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.)