differentiation

Derivatives, integrals, anti-derivatives and anti-integrals

April 10, 2022
calculus
integration, differentiation

import numpy as np import matplotlib.pyplot as plt import seaborn seaborn.set_style('darkgrid') seaborn.set(font_scale=1.2) def draw_arrows(ax, top_from, top_to, top_text_xy, bottom_from, bottom_to, bottom_text_xy, diff_top=True): text_top = "Differentiation" text_bottom = "Integration" if not diff_top: text_top, text_bottom = text_bottom, text_top ax.annotate( "", top_from, top_to, xycoords="axes fraction", size="large", ha="left", va="center", arrowprops=dict( arrowstyle="->", color="k", lw=2, connectionstyle="angle3,angleA=50,angleB=-50", ), ) ax.text(*top_text_xy, text_top, transform=ax.transAxes, ha="center") ax.annotate( "", bottom_from, bottom_to, xycoords="axes fraction", size="large", ha="left", va="center", arrowprops=dict( arrowstyle="->", color="k", lw=2, connectionstyle="angle3,angleA=50,angleB=-50", ), ) ax. ...