MHB Find Relative Error of A: 2.33

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Error Relative
AI Thread Summary
The discussion focuses on calculating the relative error of the expression A = (317 + 0.3) - (171.499 + 145.501) with a base of 10 and a precision of 3. The initial calculation resulted in a relative error of 2.33, derived from the formula ||A - fl(A)|| / ||A||. However, it was later clarified that the correct calculation should use the values A = 0.3 and fl(A) = 1, leading to a relative error of 2.33 as well, but the user initially misstated the fraction as 7/5 instead of the correct 7/3. The final confirmation indicates that the calculations align, but the user acknowledges the error in notation. The discussion concludes with a resolution of the confusion regarding the relative error calculation.
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hey! :rolleyes: I have also an other question :o
Suppose the base $\beta =10$ ,the precision $t=3$, $-L=U=10$ and $$A=(317+0.3)-(171.499+145.501)$$
I have to find the relative error for $A$.
We don't make rounding.For example,if we have the value $345.924$ it is equal to $0.345924*10^3$ and the corresponding floating number is $0.345*10^3$.
I found that it is equal to
$$\frac{||A-fl(A)||}{||A||}=\frac{7}{5}=2.33$$
Could you tell me if it is right?
 
Mathematics news on Phys.org
evinda said:
Hey! :rolleyes: I have also an other question :o
Suppose the base $\beta =10$ ,the precision $t=3$, $-L=U=10$ and $$A=(317+0.3)-(171.499+145.501)$$
I have to find the relative error for $A$.
We don't make rounding.For example,if we have the value $345.924$ it is equal to $0.345924*10^3$ and the corresponding floating number is $0.345*10^3$.
I found that it is equal to
$$\frac{||A-fl(A)||}{||A||}=\frac{7}{5}=2.33$$
Could you tell me if it is right?

I found that A=0.3 and fl(A)=1..
 
evinda said:
I found that A=0.3 and fl(A)=1..

Looks good! ;)... but doesn't that mean that:
$$\frac{||A-fl(A)||}{||A||} = \frac{|0.3 - 1|}{|0.3|} = \frac{0.7}{0.3} = 2.33$$

Oh wait! You also got $2.33$... while you shouldn't have. :eek: :rolleyes:
 
I like Serena said:
Looks good! ;)... but doesn't that mean that:
$$\frac{||A-fl(A)||}{||A||} = \frac{|0.3 - 1|}{|0.3|} = \frac{0.7}{0.3} = 2.33$$

Oh wait! You also got $2.33$... while you shouldn't have. :eek: :rolleyes:

I accidentally wrote $\frac{7}{5}$ :o I meant that it is equal to $\frac{7}{3}$..

Thank you very much! (Mmm)
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Back
Top