MATLAB - Numerical MethodsWhy 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 errorsBStep size h does not affect accuracyCSmaller h always improves accuracy without limitDLarger h always improves accuracyCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand truncation errorLarge h causes the difference quotient to poorly approximate the derivative (truncation error).Step 2: Understand round-off errorVery small h causes subtraction of nearly equal numbers, increasing round-off errors.Final Answer:Too large h causes poor approximation; too small h causes round-off errors -> Option AQuick 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 betterIgnoring round-off errorsThinking h size has no effect
Master "Numerical Methods" in MATLAB9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More MATLAB Quizzes 3D Plotting and Visualization - mesh and surf for surfaces - Quiz 3easy 3D Plotting and Visualization - View angle control - Quiz 2easy 3D Plotting and Visualization - Animation basics - Quiz 13medium 3D Plotting and Visualization - View angle control - Quiz 3easy 3D Plotting and Visualization - mesh and surf for surfaces - Quiz 10hard Cell Arrays and Structures - Structures and field access - Quiz 15hard File I/O - File path handling - Quiz 8hard File I/O - CSV file handling - Quiz 14medium File I/O - CSV file handling - Quiz 3easy String Handling - String searching (contains, strfind) - Quiz 12easy