The slope of the tangent line is the derivative. If we let f(x)=tanx and g(x)=ex2, then f(g(x))=tan(ex2), so y′=f′(g(x))⋅g′(x):
y′We find ourselves once more in need of the chain rule:Finally, we evaluate this derivative at the point x=1:y′(1)=sec2(ex2)⋅dxd{ex2}=sec2(ex2)⋅ex2dxd{x2}=sec2(ex2)⋅ex2⋅2x=sec2(e)⋅e⋅2=2esec2e