First, we need to find the gradient of the tangent, which is the value of dxdy at x=0. The function is a product of u=e2x and v=cosx.
- Differentiate u and v:
u=e2x⟹dxdu=2e2x
v=cosx⟹dxdv=−sinx
- Apply the Product Rule:
dxdy=udxdv+vdxdu
dxdy=(e2x)(−sinx)+(cosx)(2e2x)
dxdy=e2x(2cosx−sinx)
- Find the gradient at x=0:
At x=0, m=e2(0)(2cos(0)−sin(0))=e0(2(1)−0)=1×2=2.
- Find the y-coordinate at x=0:
At x=0, y=e2(0)cos(0)=e0×1=1. The point is (0,1).
- Find the equation of the tangent:
Using y−y1=m(x−x1):
y−1=2(x−0)
y=2x+1
Final Answer: The equation of the tangent is y=2x+1.