Ask Your Question

propagation of error calculation?

asked 2019-02-12 08:18:32 -0600

stockh0lm gravatar image

I try to estimate an attainable accuracy for a new measurement system and came up with an analytical model of one of the physical aspects. I would like to calculate an absolute and relative error for the calculated result/value, depending on the error bars and input values that i feed into the model.

How can sage help me, given the function, error bars and values?

i could become more specific if i knew how to share the resulting equation describing the model... so how can i share the nicely formatted formula which cocalc outputs, here in text form?

edit retag flag offensive close merge delete


it seems to me that it will be difficult to help you with the little information you give about your problem. why not give a link on your project cocalc, which you will have previously released in public by clicking on the "share" button(then copy paste the shared link in bottom right little window). If you do not want to divulge your code then prepare a redacted version, with just the problem part ?.

ortollj gravatar imageortollj ( 2019-02-12 08:50:32 -0600 )edit

ah, that is how it is done around here. I am all in!

stockh0lm gravatar imagestockh0lm ( 2019-02-12 16:16:29 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-02-12 09:12:12 -0600

tmonteil gravatar image

updated 2019-02-12 10:19:04 -0600

The usual way for certified numerics is to use inverval arihmetics and ball arithmetics.

You can have a look at this thematic tutorial about the various representations of real and complex numbers in Sage, which include the RealIntervalField and the RealBallField:

In case the page disapears, you can finf a very close version on trac ticket 15944

(disclaimer : i am the author of the worksheet).

You can also have a look at the book Computational Mathematics with SageMath :

edit flag offensive delete link more


Can I visualize the resulting range in a plot? When plotting the equation (see my worksheet) I get just one line, not two (or three) as I would expect for a range of values

stockh0lm gravatar imagestockh0lm ( 2019-02-13 13:08:44 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-02-12 08:18:32 -0600

Seen: 107 times

Last updated: Feb 12 '19