AutoMovie API
    Preparing search index...

    Function rootsAutoMovieViewSinPolynomial

    • Binary64 zero candidates of P(t)+amplitudesin(offset+spant) on a closed subinterval of [0,1].

      P has degree at most four and the angular interval lies in [0,pi]. After degree(P)+1 derivatives only a sine or cosine remains, whose interior zeros are known. Recursing back partitions each derivative into monotone intervals; sign-changing brackets are bisected, while near-zero derivative cuts retain multiple-root observations. The sine is evaluated as sine, never fitted to a polynomial. This is a numerical critical-point observation, not an interval certificate: roots closer than floating-point resolution and near-multiple residuals need not be separately resolved.

      Parameters

      • coefficients: readonly number[]

        Finite polynomial coefficients in increasing power order, one through five.

      • offset: number

        Angular parameter at t=0, radians.

      • span: number

        Positive angular parameter interval, radians, wholly inside [0,pi].

      • amplitude: number

        Finite sine coefficient in the same units as P.

      • interval: readonly [number, number] = ...

        Requested closed local parameter subinterval.

      Returns string | number[]

      Interior root candidates or the numerical premise that failed.