CUBE ROOT

From Macros Wiki
Jump to navigationJump to search

Up

Not available as a command but the macro language supports calculation of cube root ∛

** = pow math command with 1/3 inverting it to the cube root.

Example

!cube root of 10 = 2.1544
!cube root is the number which when multiplied by itself three times gives the product as 10
number=10
cube_root=number**(1/3)
message "the cube root of %number is %cube_root"