Bird
0
0

Why does the choice of step size h affect the accuracy of numerical differentiation in MATLAB?

hard📝 Conceptual Q10 of 15
MATLAB - Numerical Methods
Why does the choice of step size h affect the accuracy of numerical differentiation in MATLAB?
AToo large h causes poor approximation; too small h causes round-off errors
BStep size h does not affect accuracy
CSmaller h always improves accuracy without limit
DLarger h always improves accuracy
Step-by-Step Solution
Solution:
  1. Step 1: Understand truncation error

    Large h causes the difference quotient to poorly approximate the derivative (truncation error).
  2. Step 2: Understand round-off error

    Very small h causes subtraction of nearly equal numbers, increasing round-off errors.
  3. Final Answer:

    Too large h causes poor approximation; too small h causes round-off errors -> Option A
  4. Quick Check:

    Step size h affects accuracy due to error trade-off [OK]
Quick Trick: Balance h to minimize truncation and round-off errors [OK]
Common Mistakes:
  • Assuming smaller h always better
  • Ignoring round-off errors
  • Thinking h size has no effect

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More MATLAB Quizzes