I'm still learning how to plot functions. I'm currently using the pgfplots package, but let me know if there's a different one you recommend. I'm trying to recreate the following image from a PDF I found.
Since the function is not given, is there a good way to approach drawing the curve? Moreover, how would one add the ticks to 2 and 10 along with the dashed lines? I appreciate the help. I have experience writing math formulas and whatnot in Tex, just not plots like this. It seems relatively basic, so I'm hoping to add it to my Tex knowledge.
pgfplots
but only with TikZ, especially using either Béziers curves or simply theto[out=<angle1>,in=<angle2>]
command for a path. You'll find many useful informations here and ther on the website.