Math 2

Learn to use the Math 2 block on Fable Written by Chris Boardman
Updated over a week ago

# Effect Overview

Math 2 creates more complex mathematical equations and functions to be applied across variables and or user inputs. It can be found under the Utility section of the Effects Browser.

## Effect Controls

1. Type: [ Default abs ] [ Range DROPDOWN OF 20 OPTIONS ]

• abs: function returns the absolute value of a number.

• acos: function returns the arccosine (in radians) of a number

• acosh; function returns the hyperbolic cosine of a number,

• asin: function returns the arc-sine (in radians) of a number

• asihn: function returns the hyperbolic arcsine of a number

• atan: function returns the arctangent (in radians) of a number,

• atanh: function returns the hyperbolic arctangent of a number

• cbrt: function returns the cube root of a number

• ceil: function always rounds a number up to the next largest integer.

• cos: function returns the cosine of the specified angle

• cosh: function returns the hyperbolic cosine of a number

• exp: function returns e to the power of x, where x is the input and e is Euler's number (which is approximately 2.718)

• e = 2.718, x = input

e^x = y

y = result

• Example

2.718^2 = 7.387524

2.718^10.4 = 22003.6396499

• floor: function returns the largest integer less than or equal to a given number.

• log: function returns the natural logarithm (base e) of a number

• round: function returns the value of a number rounded to the nearest integer.

• sin: function returns the sine of a number.

• sinh: function returns the hyperbolic sine of a number

• tan: function returns the tangent of a number.

• trunc: function returns the integer part of a number by removing any fractional digits.

• a = 15.23 then result equals 15

• a = .23 then result equals 0

• a = -2345.23425 then result equals -2345

2. Input: [ Default 0 ] [ User Defined Input ]

• The number to be calculated is typed here

3. Result: [ Default # ] [ Range # - # ]

• The result of the given operation appears here