f(x)=e^(2-x)-e^2-x?
$$f(x)=e^{(2-x)}-e^2-x$$
let f(x)=y
$$y=e^{(2-x)}-e^2-x$$
Here is the graph
https://www.desmos.com/calculator/swkwcvrths
I don't know how to make x the subject but I can see that y maps to x one to one
and the function is continuous
so I can just swap x and y over
$$x=e^{(2-y)}-e^2-y$$
This is not very elegant I am afraid :(
f(x)=κ-e^(2-x)+x
Here is a graph of f(x)
https://www.desmos.com/calculator/rr5rg1wjd3
since the mapping of x to y and y to x are both 1 to 1 I can just let f(x)=y and then swap x and y over.
function
$$y=k-e^{(2-x)}+x$$
inverse function
$$\\x=k-e^{(2-y)}+y\\$$
I should make y the subject but I cannot see how to do that.