Need help calculating relative position

connorheyz

New member
Joined
Jul 8, 2016
Messages
1
Hi, let me try to explain briefly what I am trying to do.
Lets say I have a dot that is in a position that is between 0 and 100 its position is 89. I want to be able to get the dot's relative position if the position was between like 0 and 43.
_100 _43
| |
| . ?
. 89 |
| |
| _0
|
|
_0
 
Hi, let me try to explain briefly what I am trying to do.
Lets say I have a dot that is in a position that is between 0 and 100 its position is 89. I want to be able to get the dot's relative position if the position was between like 0 and 43.
_100 _43
| |
| . ?
. 89 |
| |
| _0
|
|
_0

Ok. Not sure exactly what you mean but I think it might be this.
The dot is 89/100 of the way along a line from 0 to 100.
So you need the dot to be 89/100 of the way along a line from 0 to 43 (?I think??)
Now \(\displaystyle \frac{89}{100} * 43 = 38.27\)

So

0 1 2 3 ................................89...............100
0 1 2 3 ...............................38.27.............43

Is that what you mean?
 
Hi, let me try to explain briefly what I am trying to do.
Lets say I have a dot that is in a position that is between 0 and 100 its position is 89. I want to be able to get the dot's relative position if the position was between like 0 and 43.
_100 _43
| |
| . ?
. 89 |
| |
| _0
|
|
_0
I think this is a problem of contraction of scale. So:

Let that be placed at a distance 'x' - for the second situation. Then

x/43 = 89/100
 
Hi, let me try to explain briefly what I am trying to do.
Lets say I have a dot that is in a position that is between 0 and 100 its position is 89. I want to be able to get the dot's relative position if the position was between like 0 and 43.
_100 _43
| |
| . ?
. 89 |
| |
| _0
|
|
_0
Hi coonorheyz,
We like to help, but it is extra nice when we get thanked for our help. Don't forget your manners and thank those who respond to your request for help.
Cheers,
Harry_the_Cat
 
Top