|
- In Matlab, what does eps represent?
eps = machine precision, and indicates the relative accuracty of results on the computer; for the computer in the classroom, eps is about 2.2e-16, so that numbers on
that computer are accurate to about 16 decimal digits
- Derive the scaling factor for f(C) = sin(C).
f(C) = C f’(C) / f(C) = C cos(C) / sin(C) = C cot(C)
- My routine getexp.m failed for large, negative values of x. What was the cause of the failure?
the intermediate terms in the summation were very large, and the answer was very small, so the rounding errors
that arose as the series was being summed overwhelmed the solution
- Why didn’t we see the same failure for large, positive values of x?
in this case, the answer is even larger than the individual terms, and so is not overwhelmed by the rounding errors
|