Percentage between two numbers

  • Context:
  • Thread starter Thread starter xNICK1
  • Start date Start date
  • Tags Tags
    Numbers
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
xNICK1
Messages
14
Reaction score
0
Hey, So I need to know what number is 75% between 2 lines? Line 1 = 124.464 and Line 2 = 124.444. Currently I use
Line 1 + Line 2 / 2 = 50% or (124.454) Then (124.454 + Line 1) / 2 = 75% or (124.459). Is there a easier or better way to get these results, cause this formula can't get percents like 60% or 40%.
PS: Wasn't sure what topic to put this under, first time here.
Thank you for your time and help!
 
Physics news on Phys.org
Suppose you have two real numbers \(x_1\) and \(x_2\) with \(x_1<x_2\). And we want to find a third number \(x_p\) that is a part \(p\) (where \(0\le p\le1\)) of the distance from \(x_1\) to \(x_2\). Then I would use:

$$x_p=x_1+p(x_2-x_1)$$

Does that make sense?
 
Yes! Thats exactly what I needed! Thank you so much! I’ve been out of school for too many years now. Haha.