# Evaluating $\pi$ by direct integration

#### Question Q8.2.3

Use scipy.integrate.dblquad to evaluate $\pi$ by integration of the constant function $f(x,y)=4$ over the quarter circle with unit radius in the quadrant $x>0$, $y>0$.

#### Solution

To access solutions, please obtain an access code from Cambridge University Press at the Lecturer Resources page for my book (registration required) and then sign up to scipython.com providing this code.