1 Attachment(s)

Solving Antiderivative of y=(-1/r)x+r with Graph

Hello Guys,

So I had to graph a function y=(-1/r)x+r with about 100 values for r. The result is the graph below. Attachment 20556 Now I need to find the exact equation for the turned parabola the first equation describes. Since equation y=(-1/r)x+r is the tangent to this parabola I tried to find it through calculating antiderivative of y=(-1/r)x+r, but my result y=(r^2/2)-xlog(r), when graphed is not the desired turned parabola. So could you help me to find this equation? Thanks in advance.