JGalt
Diamond Member
- Mar 9, 2011
- 79,162
- 102,368
- 3,635
It's been decades since I went to college and my math skills were never that good. What I'm trying to do is take two given numbers and find the evenly spaced numbers in between, resulting in a string of ten evenly spaced numbers.
In other words, given the numbers 28.6 and 32.0, how would I produce a string of numbers evenly spaced between them, that would result in ten numbers
Kinda like this:
28.6 - ??.? - ??.? - ??.? - ??.? - ??.? - ??.? - ??.? - ??.? - 32.0
Notice that the string is an even number. It would be easy if it were an odd number, because I could just find the median between the first and last numbers.
In other words, given the numbers 28.6 and 32.0, how would I produce a string of numbers evenly spaced between them, that would result in ten numbers
Kinda like this:
28.6 - ??.? - ??.? - ??.? - ??.? - ??.? - ??.? - ??.? - ??.? - 32.0
Notice that the string is an even number. It would be easy if it were an odd number, because I could just find the median between the first and last numbers.