numerically evaluate Schwarz Christoffel mapping The Schwarz Christoffel mapping is given by 
$$f(\zeta) = \int_{\zeta_0}^\zeta \frac{1}{(w-z_1)^{1-(\alpha_1/\pi)}\cdots (w-z_n)^{1-(\alpha_n/\pi)} } \,\mathrm{d}w $$
where $z_i$ are complex points, and $\alpha_i \in (-\pi, \pi)$ are the corresponding angles.
To make plots of $f$ we need to evaluate that integral numerically as there is no closed form for general $z_i$ and $\alpha_i$. 

What methods are there to evaluate this integral numerically?


Here is a way to use "integral" or "quad" to get numerical values with Matlab.
Let us take the example of function 
$$\tag{1}f(z)=\int_{0}^z \dfrac{dw}{\sqrt{w^2-1}}$$
which is in fact identical to arcosh$(z)-i\pi/2$, or more exactly  to $s$(arcosh$(z)-i\pi/2)$ where $s$ is the sign of $\Im(z)$, the imaginary part of $z$.
[It is the example given by Wikipedia in (https://en.wikipedia.org/wiki/Schwarz%E2%80%93Christoffel_mapping)] with a rectification.
Here is the corresponding program :
  clear all;close all;hold on;
  f=@(w)(1./((w-1).^(1/2).*(w+1).^(1/2)));
  r=-2:0.051:2;S=length(r);%range
  [X,Y]=meshgrid(r,r);
  for K=1:S
     for L=1:S
        z=X(K,L)+i*Y(K,L);
        t(K,L)=integral(f,0,z);% or "quad"
        s=sign(imag(z));
        t1(K,L)=s*acosh(z)-i*pi/2;
        %t1(K,L)=s*i*(acos(z)-pi/2);%identical to previous expression
     end;
  end;
  subplot(1,2,1);
  surf(X,Y,abs(t));view([19,32]);shading interp
  subplot(1,2,2);
  surf(X,Y,abs(t1));view([19,32]);shading interp


Fig. 1: (left) values of $\left|\displaystyle\int_{0}^z \dfrac{dw}{\sqrt{w^2-1}}\right|$ ; (right) values of $|\text{sign}(\Im(z))(\text{arcosh}(z)-i\pi/2|.$
