Re=20e3
R2=100e3
R1=5e3
C=1e-9

f=logspace (2,5, 200);

w=2*pi*f;

s=j*w;

Zc=1 ./ (j*w*C);

G=R2 ./ (Re+R1 + Zc) ;
figure(1)
semilogx(f, abs(G))

figure (2)
semilogx( f, 180*angle(G)/pi)

