i have the following code that i am using and its working:
using Distributions
d=Exponential(1000)
for i in collect(100:100:1000)
print(i,"->",cdf(d,i)
end
The code it working properly.
What i need now is to pass the probability and get as a return the time t. I mean, i want to pass the cumulative function(cdf),as for example, 50% and then get the time(t) that is about 690.
How can i code this?
Thanks