I am looking for a way to convert any number to percent as follows:
numbers above 1.00 are 100% logarithmic.
x> 0. Therefore, y should approach 0, since x becomes infinitesimal on the positive side.
I am sure it is easy to do, but I cannot remember how to do it.
try 1 / (1 + e^(1-x))
1 / (1 + e^(1-x))
this logistic function is shifted by 1 unit
If you want it to move closer, you can change e to something higher
Edit:
so that f (0) = 0 you can use 1 - 2^(-x)
1 - 2^(-x)
, ? , "y 0, x " f (0) = 0, f . x/(x + 1) : http://www.wolframalpha.com/input/?i=x%2F%28x%2B1%29
y = f(t) = 1 - exp(-t/tau)?
y = f(t) = 1 - exp(-t/tau)
t 0 y t/tau. t y 1.
f (1) = 0,5, tau = 1/log (2).
, , x cubed - .
http://jedsmith.org/static/S01813305.png
This has been shown using y=(x-1)^3+1(converted to make a (1,1)source). Of course, you can make the result as a percentage by simply scaling it by 50.
y=(x-1)^3+1
(1,1)
You are ultimately trying to get an effective solution to give you an approximate percentage behavior in a programming language and not in Mathematica, right?
Source: https://habr.com/ru/post/1724184/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1724179/is-it-any-way-to-implement-a-linked-list-with-indexed-access-too&usg=ALkJrhh81U25-hr9kwWlH3wMCRYcPKnPPQOption "Remember Password" [C #] - c #PHP: multi-threaded PHP / web services? - multithreadingDjango CSRF issues with cookies disabled - djangohttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1724183/linq-query-across-three-levels-of-tables-to-generate-sum&usg=ALkJrhio7Cu3240SqsmTBtgJ1Sg3FOZ6mwHow can I protect my Assembly from using any other? - securityHow to force Doctrine to remove table prefixes from class names? - phpUsing an obsolete COM component in a multithreaded C # environment - multithreadingCannot enable cookie in php curl - phpHow to use arrays in unix shell? - unixAll Articles