I have a question about a piece of code, but I feel as if I'm just making some small stupid mistake so it wouldn't be worth it to put it onthe main site. What I have is a function
GamFun[t_, ub_, A_] := Module[{s, g},
g = NIntegrate[A*SinIntegral[ub*s], {s, 0, t}];
Return[g]]
Now I want to solve for GamFun[t,ub,A] = 1/t, numerically, for some input parameters ub and A. But somehow NSolve doesn't work; it complains about the limits of integration not being valid. I'm not sure why exactly. Perhaps because it is trying values of t that are not physical?