Skip to Main Content
Applying Math with Python - Second Edition
book

Applying Math with Python - Second Edition

by Sam Morley
December 2022
Intermediate to advanced content levelIntermediate to advanced
376 pages
10h 8m
English
Packt Publishing
Content preview from Applying Math with Python - Second Edition

3

Calculus and Differential Equations

In this chapter, we will discuss various topics related to calculus. Calculus is the branch of mathematics that concerns the processes of differentiation and integration. Geometrically, the derivative of a function represents the gradient of the curve of the function, and the integral of a function represents the area below the curve of the function. Of course, these characterizations only hold in certain circumstances, but they provide a reasonable foundation for this chapter.

We’ll start by looking at calculus for a simple class of functions: polynomials. In the first recipe, we’ll create a class that represents a polynomial and define methods that differentiate and integrate the polynomial. Polynomials ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Doing Math with Python

Doing Math with Python

Amit Saha

Publisher Resources

ISBN: 9781804618370Supplemental Content