© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
H. Li, PhDNumerical Methods Using Kotlinhttps://doi.org/10.1007/978-1-4842-8826-9_6

6. Numerical Differentiation and Integration

Haksun Li, PhD1  
(1)
Hong Kong, China
 

Numerical differentiation and integration is a technique for performing differentiation and integration when you do not know the function a priori, when you treat the function as a black box, or when analytical (or symbolic or closed-form) differentiation and integration of the function is not possible. This technique approximates a function by using many linear functions, each one a tiny interval of the function domain. In fact, piecewise linear approximation of a function is the very foundation ...

Get Numerical Methods Using Kotlin: For Data Science, Analysis, and Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.