Saved Bookmarks
| 1. |
If \(\sqrt{2} \) = 1.414, and the square_root() function returns – 1.414, does it violate the following specification?1. – – square – root(x)2. – – inputs: x is a real number, x > 03. – – outputs: y is a real number such that y = x |
|
Answer» No, because (- 1.414)2 = 2, which satisfies input – output relation (y2 = x) |
|