log: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Fix SQF) |
||
Line 50: | Line 50: | ||
<sqf>y = 10 ^ x // x = log y</sqf> | <sqf>y = 10 ^ x // x = log y</sqf> | ||
People use logarithm at the purpose of simplifying multiplication via exponents plus years before. | People use logarithm at the purpose of simplifying multiplication via exponents plus years before. | ||
<sqf>23456*45634 = 1. | <sqf>23456*45634 = 1.07039e9 | ||
log 23456 = 4.37025; log 45634 = 4.65929; (log 23456) + (log 45634) = 9.02954 | log 23456 = 4.37025; log 45634 = 4.65929; (log 23456) + (log 45634) = 9.02954 | ||
10^((log 23456) + (log 45634)) = 10 ^ 9.02954 // same as 23456*45634</sqf> | 10^((log 23456) + (log 45634)) = 10 ^ 9.02954 // same as 23456*45634</sqf> |
Revision as of 16:40, 1 November 2022
Description
- Description:
- Base-10 logarithm of x.
- Groups:
- Math
Syntax
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- Math Commands Logarithm
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on 23:14, 16 Jun 2014
- ffur2007slx2_5
-
To clarify:
People use logarithm at the purpose of simplifying multiplication via exponents plus years before.
As modern usage, for instance, to evaluate another exponent when multiple is known (Which magnitude is 4 times stronger than 8.3 earthquake?):
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Math