MHB How can I resize one line to match another line with different values?

  • Thread starter Thread starter xNICK1
  • Start date Start date
xNICK1
Messages
14
Reaction score
0
Hey, I need to re size one line so it matches the second line. So Line 1's highest point is 100 and its lowest point is 0. Line 2's highest point is 1 and its lowest point is 0. Line 1 is currently at 30 and line 2 is currently at .7, how could I re size line 2 to be between 0 and 100 instead of 0 and 1 so that line 2 would then be at 70 not .7. This is just a simple example, but I am sure there is a formula for this i just can figure it out myself. Thanks for your time and help!
 
Mathematics news on Phys.org
You'll have to be much more detailed in order to explain the problem properly.

xNICK said:
So Line 1's highest point is 100 and its lowest point is 0.
What do you mean by the line here? A sine wave? What do you mean that the highest point is 100? Namely, how can a point be a number?

xNICK said:
Line 1 is currently at 30
What does this mean? A line is presumably an infinite set of points, and you can't specify even a single point with a single number.

xNICK said:
how could I re size line 2
What exactly do you mean by resizing?
 
Sorry for the confusion, I have 2 different graphs, graph1's highest is 100 and lowest is 0, then graph2's highest is 1 and lowest is 0. I want to overlay both these graphs on the same graph. So if i put graph2 onto graph1, when graph2 goes to .3 its then 30 on graph1 instead of being .3? Does that make better since? Thanks again.
 
xNICK said:
how could I re size line 2 to be between 0 and 100 instead of 0 and 1
If the Cartesian equation of the second line (curve) is $y=f(x)$, change it to $y=100\cdot f(x)$.
 
Olinguito said:
If the Cartesian equation of the second line (curve) is $y=f(x)$, change it to $y=100\cdot f(x)$.


I don't know what that means, but this is what I was looking for.
Graph1==G1
Highest==100
Lowest==0
Current line == 70

Graph2==G2
Highest==1
Lowest==0
Current line == .3

So to put graph2 onto graph1, I would take (G2 line ".3" - G2 lowest "0") / (G2 Highest "1" - G2 lowest "0")=.3 so X==.3,
then (((G1 highest "100" - G1 lowest "0") * X ) + G1 Lowest "0") = 30. So I re sized my line on g2 at .3 to be on g1 at 30.
No idea what this formula is called if anyone knows. I made it from this formula xp=x1+p(x2-x1).
Thanks for all the help! Sorry I probably didnt explain it well enough. Let me know if it make since now ? Thanks again!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top