I'm still getting my bearings in Algebra let alone understanding Trig. Eventually I will get there (I hope) with my "Trigonometry for Dummies" book.
However, at the moment I have a trig problem I need to solve so that I can code this into a program. So I thought maybe someone here can help me with this.
This problem deals with solving for the ANGLE based on stock chart prices.
The starting price is 1054.7.
Suppose that two lines originate from 1054.7 and 21 days later end up at 1235.2 (line 1) and 1260.4 (line 2 or hypotenuse).
I believe you call this pattern a Scalene Triangle.
To solve this in order to get the ANGLE of ascent, I am wondering if the proper procedure is to make the start and end of the BASE the same price and subtract the difference from the value at the end of Line 2.
In other words:
1235.2 - 1054.7 = 180.5.
1260.4 - 180.5 = 1079.9 (line 2)
Thus, the base would be 21 days long at the price of 1054.7 and end of line two (hypotenuse) would be 1079.9.
But now I have a Right Triangle. So I'm thinking this approach is all wrong.
Also, I'm not sure to go about converting days into price or price into days to solve this.