I call this program Two Points. It's goal is to tell you everything there is to know about the relationship between the two points that you input. Such as: Distance, Midpoint, Slope and the equation of the line that intersects those points.
Already done: Distance, Midpoint, and Slope.
If you can think of anything else that should be added to this, do not hesitate to ask!
Not sure if this is the place to ask for code help. If it isn't please move this.
I am having trouble with getting the equation of the line that passes through the points. I am trying to get the slope from the points and then use the point-slope formula to get the equation. If there is an easier way, let me know! This is what I have:
Code:
Thanks for any help you can give!
Already done: Distance, Midpoint, and Slope.
If you can think of anything else that should be added to this, do not hesitate to ask!
Not sure if this is the place to ask for code help. If it isn't please move this.
I am having trouble with getting the equation of the line that passes through the points. I am trying to get the slope from the points and then use the point-slope formula to get the equation. If there is an easier way, let me know! This is what I have:
Code:
Input "X1=",A
Input "Y1=",B
Input "X2=",C
Input "Y2=",D
ClrHome
(D-B)/(C-A)->E
E*A->F
F+B->G
Output(4,1,"Y="
Output(4,3,E
Output(4,6,"X-"
Output(4,8,G
Thanks for any help you can give!