Hello,
I have the following function which I have been plotting as follows:
function f(x,p)
v0,S,D,v,K,n,µ = p
return (((S*x)^n*(µ*x - v - v0)/(v0 - µ*x))^(1/n)-D*x-K)/D
end
plot(x -> f(x,(0.4,4.0,1.0,2.0,0.7,2,1.0)),0.0,1.0)
I would now like to find and plot the inverse of the function. How can I get this? I tried the InverseFunctions package that I found online but it does not seem to be working.
Thanks in advance!