If the function f(x)=ex(etanx-x-1)+loge(secx+tanx)-xtanx-x is continuous at x=0, then the value of f(0) is equal to [2026]
(2)
f(0)=limx→0etanx-ex+ln(secx+tanx)-xtanx-x
Applying L'Hospital rule
⇒f(0)=limx→0etanx.sec2x-ex+secx-1sec2x-1
⇒f(0)=limx→0etanx(sec2x-1)+(etanx-ex)+secx-1tan2x
⇒f(0)=limx→0(etanx+ex(etanx-x-1)tan2x+1secx+1)
⇒f(0)=1+0+12=32