A thin charged rod of length L lies along the x-axis as shown in the diagram below.
The charge on the rod is distributed with a density of λ= c x (C /m) where c is a constant.
What is the potential at a point (0,y)? (Your answer should be in terms k, c, L, and y).
See attached pictures for attempt at solution and diagram.
What I'm having trouble with is determining where to sub in λ = cx. Also, I'm not sure how to derive the potential at the point, but I think what I have derived there without solving the integral is the electric field at that point. Also, I don't know how to evaluate the integral (I've never taken a uni-level calc course.. but i know how to do basic u substitution and trig subs if that's what is needed).