worst_case

Tolerance
Name: worst_case

Category: Tolerance

Description:
    Calculates the worst-case tolerance stack of an array of dimensions.

Syntax:
    worst_case(dimensions[])

Examples:
    a = dim(1, 0.1)
        1 ± 0.1
    b = limit(1.9, 2.1)
        2 ± 0.10000000000000009
    c = bilateral(3.1, 0, -0.2)
        3 ± 0.10000000000000009
    d = dim(4, 0.1)
        4 ± 0.1
    stack = [-a, b, c, d]
        [-1 ± 0.1, 2 ± 0.10000000000000009, 3 ± 0.10000000000000009, 4 ± 0.1]
    worst_case(stack)
        8 ± 0.40000000000000013
    rss(stack)
        8 ± 0.2000000000000001

See also: dim, rss, bender