To find the value of f(e), we first solve the given differential equation:
dy=y(2+logex)dx,x>0
Separating the variables x and y, we get:
ydy=(2+logex)dx
Integrating both sides with respect to their respective variables:
∫y1dy=∫(2+logex)dx
Using the integration by parts formula for ∫logexdx=xlogex−x, the right-hand side becomes:
logey=2x+(xlogex−x)+C
logey=xlogex+x+C
We are given that the curve y=f(x) passes through the point (1,e), which means y=e when x=1. Substituting these values to find the constant of integration C:
logee=1⋅loge1+1+C
1=0+1+C⟹C=0
Substituting C=0 back into the equation yields:
logey=xlogex+x
y=f(x)=exlogex+x=ex(1+logex)
Now, to find f(e), we substitute x=e into the expression for f(x):
f(e)=ee(1+logee)
Since logee=1:
f(e)=ee(1+1)=e2e
Hence, the correct option is C.