Hi Masters,
Thank you for the reply.
The 0 is a zero line. Values are assigned based on certain criteria.
In 1 step forward, 29 is equal to 11438. In the next step forward, -14 is equal to 11417. I'm trying to find what the zero line is equivalent to.
(this is for an automated stock trading system I'm working on)
Thanks..
If no other restrictions are given, then I assume the curve containing the 11438 and 11417 is linear or a straight line.
Draw the figure.
On a (x,y) set of axes, plot the two given points (-14,11417) and (29,11438).
The idea is to get the y-coordinate when x = 0.
Draw the horizontal line y = 11417.
A right triangle is formed whose
>>>vertical leg is (11438 -11417) = 21
>>>horizontal leg is (14 +29) = 43
>>>hypotenuse is unknown
Let c = vertical line segment along the y-axis, or x=0, from the hypotenuse to the horizontal leg.
By proportion,
c/14 = 21/43
c = 14*21/43 = 6.8372
Therefore, 0 is to (11417 +6.8372) = 11423.8372 ------answer.
Umm, I think you should have said "28 is to 11438". Not the posted 29.
Because if it were 28. then
c = 14*21/42 = 7
and then 0 is to 11424 ------**