Processing math: 100%

Evaluating π by direct integration

Question Q8.2.3

Use scipy.integrate.dblquad to evaluate π 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 Q8.2.3