Ask Your Question

# propagation of error calculation?

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 close merge delete

## Comments

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 ?.

( 2019-02-12 15:50:32 +0200 )edit

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

https://cocalc.com/share/f7766c5e-2f4...

( 2019-02-12 23:16:29 +0200 )edit

## 1 Answer

Sort by ยป oldest newest most voted

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:

https://mathexp2018.metelu.net/worksh...

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 : http://sagebook.gforge.inria.fr/engli...

more

## Comments

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

( 2019-02-13 20:08:44 +0200 )edit

## Your Answer

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

Add Answer

## Stats

Asked: 2019-02-12 15:18:32 +0200

Seen: 765 times

Last updated: Feb 12 '19