- 2 For Each Of The Following Formulas I Identify The Values Of X E G X Large X Close To Zero That May Have Cance 1 (66.85 KiB) Viewed 56 times
2. For each of the following formulas, (i) identify the values of x (e.g., x large, x close to zero) that may have cance
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
2. For each of the following formulas, (i) identify the values of x (e.g., x large, x close to zero) that may have cance
2. For each of the following formulas, (i) identify the values of x (e.g., x large, x close to zero) that may have cancellation error and (ii) derive another way of evaluating the expression that avoids cancellation error. (a) log(x + 2) – log(x), √4+x-2 (b) Then, using Matlab, find a particular à value that shows how the given formula and your new (better) formula can produce slightly different results. (Do this for both formulas.) To display more digits in Matlab, type one of these at the command line: >> format long or X >> format longe