Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2014-02-05 22:50:49

evinda
Member
Registered: 2013-04-13
Posts: 105

which is the right result?

Hey!!I have a question..
Suppose  base=10 , precision t=3, -L=U=10 and


I want to calculate the relative error for B.
We don't make rounding.For example,if we have the value 345.924 it is equal to
and the corresponding floating number is
.

Could you tell me which is the result,so I can check mine?

Last edited by evinda (2014-02-06 01:55:29)

Offline

#2 2014-02-06 01:50:33

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 87,258

Re: which is the right result?

Hi evinda;

I am afraid I do not understand what you want. What do you want to check the relative error for?


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Offline

#3 2014-02-06 01:54:40

evinda
Member
Registered: 2013-04-13
Posts: 105

Re: which is the right result?

bobbym wrote:

Hi evinda;

I am afraid I do not understand what you want. What do you want to check the relative error for?

I found the relative error

but I don't know if the result that I found is right.

Offline

#4 2014-02-06 02:02:36

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 87,258

Re: which is the right result?

What is your result?


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Offline

#5 2014-02-06 02:07:46

evinda
Member
Registered: 2013-04-13
Posts: 105

Re: which is the right result?

bobbym wrote:

What is your result?

I found

.

Offline

#6 2014-02-06 02:13:18

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 87,258

Re: which is the right result?

Is this what you are calculating?


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Offline

#7 2014-02-06 02:33:15

evinda
Member
Registered: 2013-04-13
Posts: 105

Re: which is the right result?

bobbym wrote:

Is this what you are calculating?

Yes, I calculate the real value of this

and its value as a floating-point number.
So,the result I am looking for should have the form

Last edited by evinda (2014-02-06 02:34:53)

Offline

#8 2014-02-06 02:38:22

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 87,258

Re: which is the right result?

The exact value is 3 / 10, now what did you get for your floating point value?


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Offline

#9 2014-02-06 02:40:01

evinda
Member
Registered: 2013-04-13
Posts: 105

Re: which is the right result?

bobbym wrote:

The exact value is 3 / 10, now what did you get for your floating point value?

I got

..Is this right?

Offline

#10 2014-02-06 02:43:37

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 87,258

Re: which is the right result?

1? How did you get that?

I can calculate the relative error of that answer if you like.


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Offline

Board footer

Powered by FluxBB