Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

#1 2014-02-06 21:50:49

evinda
Full Member

Offline

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-07 00:55:29)

#2 2014-02-07 00:50:33

bobbym
Administrator

Online

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.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#3 2014-02-07 00:54:40

evinda
Full Member

Offline

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.

#4 2014-02-07 01:02:36

bobbym
Administrator

Online

Re: which is the right result?

What is your result?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

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

evinda
Full Member

Offline

Re: which is the right result?

bobbym wrote:

What is your result?

I found

.

#6 2014-02-07 01:13:18

bobbym
Administrator

Online

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.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#7 2014-02-07 01:33:15

evinda
Full Member

Offline

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-07 01:34:53)

#8 2014-02-07 01:38:22

bobbym
Administrator

Online

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.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

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

evinda
Full Member

Offline

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?

#10 2014-02-07 01:43:37

bobbym
Administrator

Online

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.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Board footer

Powered by FluxBB