Skip to content

Error root #453

Description

@jmarcellopereira

An error occurs when using Roots.jl to solve an equation, the result should be -2.0, not -1.58. The error only occurs when I use uncertainties.

using Measurements, Roots

a = measurement(1.0 , 0.1)
b = measurement(-3.0 , 0.1)
c = measurement(-10.0, 0.1)

f(x) = ax^2 + bx + c

find_zero(f, measurement(0.0, 0.1))

−1.58±0.12

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions