Given f:R→A, is defined by
f(x)=ex−e−|x|ex+e|x|
Since, f is surjection,
So, R(f)=Codomain A
When x>0
f(x)=ex−e−xex+ex
⇒f(x)=e2x−12e2x
Let y=e2x−12e2x ....(1)
⇒e2x=11−2y
⇒x=12log(11−2y)
⇒11−2y>0
⇒y<12
By (1), y>0 for x>0
Hence, range of f is [0,12)
So, k=0,m=12
⇒2(k+m)=1