← Main book chapter 8
Contents / index
Browser back
← Previous chapter
Next chapter →
Laboratory
Memory
Cards
Sort
Match
Visuals
Coding
Quiz
Programming practice
Central difference — Chapter 8
Fix the denominator of the central difference.
Language:
JavaScript
Student code
function central(f,x,h){ return (f(x+h)-f(x-h))/h; }
Check code
Show corrected code
Reset buggy code
Feedback
Corrected code