Hi,
Sorry for the bad title, but not having English as my native language, I simply do not know the correct math phrases
Anyway, I am struggeling with a formula for some software I am developing, and I could surely use your help.
As you can see from that short snippet, I would need to have an algorithm that takes a value A and gives the result B. The maximum for A is 100 (which gives: 0.00), and minimum = 1 (which gives: -0.250).
I hope my description is clear enough
Regards
Sorry for the bad title, but not having English as my native language, I simply do not know the correct math phrases
Anyway, I am struggeling with a formula for some software I am developing, and I could surely use your help.
Code:
Value (A) = Result (B)
A = B
--------------------
100 = 0.00
...
50 = -0.125
...
1 = -0.250
As you can see from that short snippet, I would need to have an algorithm that takes a value A and gives the result B. The maximum for A is 100 (which gives: 0.00), and minimum = 1 (which gives: -0.250).
I hope my description is clear enough
Regards