Sunday

September 21, 2014

September 21, 2014

Posted by **apoorva** on Wednesday, April 16, 2008 at 10:11pm.

If you were asked this question, how would you try to understand this question;

This is how I looked at it;

I'm asked for two real numbers and an epsilon number.

for example, 5 and 6. epsilon is then 2.

So when I compile my program, my program will do this: 5+2 and 5-2 which is 7 and 3

and 6+2 and 6-2 which is 8 and 4.

Then the result I would have program say would be: No, this is not equal.

Am I reading this right, please help

- how to understand this -
**bobpursley**, Wednesday, April 16, 2008 at 11:07pmno, I dont think you are reading it correctly

Here is the logic a,b real numbers, e is some real number.

IF abs(a-b)<=e then YES

otherwise NO

**Answer this Question**

**Related Questions**

C programming, not C++ - design and implement such a function and use it in a ...

Computer programming - Sorting is a common operation used in programming. ...

Computer Programing & Logic Design - Submit pseudocode and a flowchart for the ...

Computer Programing & Logic Design - Submit pseudocode and a flowchart for the ...

Math Proof - Let x and y be real numbers. Then x=y if and only if abs(x-y)< ...

C++ - Write a MAIN function and a FUNCTION to compute the sum of the below ...

C++ - Write a MAIN function and a FUNCTION to compute the sum of the below ...

C++ - Write a MAIN function and a FUNCTION to compute the sum of the below ...

calc - Consider the function below. (Round the answers to three decimal places. ...

Teddy - f(x,y) = 3x + 3y Show that for any epsilon in: |2x + 3y - 5| < ...