I
I
Intelix2020-05-31 13:41:34
Mathematics
Intelix, 2020-05-31 13:41:34

How to make such a formula?

Given:
Height H = 10000
The variable X is the initial value of which H and it constantly tends to 0 until it reaches it.
Length W = -50

We need a formula that would bring W from -50 to -150 over time from the value of X (from 10000 to 0)
I.e. so that at the beginning (when X = 10000) w = -50, and at the end (when X = 0) w = -150

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-05-31
@Intelix

[10000:0] => [-50:-150]
[10000:0] => [100:0] - 150
[10000:0] => [10000:0] / 100 - 150
W = X / 100 - 150
Arithmetic, elementary school.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question