Hi! I have a matlab m-file in order to draw an integral as below. I want to rewrite this code in mathematica but I don't know any equivalent function for subs()!! Does any body help me?
syms x y w;
fun = (-1/(4.*pi)).*log(x.^2+(y-w).^2);
integral = int(fun, w);
res_l = subs(integral, w, -0.5);
res_u = subs(integral, w, 0.5);
res = res_u - res_l;