Geometry Resources


TI Basic Programs

2.1 interp( x1, y1, x2, y2, x3 )
A function to find a linear interpolation or extrapolation point, Q(x3, y3), based on two points, P1(x1, y1) and, P2(x2, y2). The function takes five arguments, x1, y1, x2, y2, x3, and returns the value for y3.




2.2 intercpt( y = f(x, y) )
A function that finds all the x and y intercepts for a function or relation y = f(x, y).




2.3 symmetry( y = f(x, y) )
A function that returns a string variable indicating the symmetry of the relation y = f(x, y). The output is either, "origin", "x-axis", "y-axis", or "none".




2.7 dist( {x1, y1}, {x2, y2} )
A function that returns the distance between two points, P(x1, y1) and Q(x2, y2), in a Cartesian Coordinate system. The points may be entered as lists { , }, or vectors [ , ].


2.8 midpt( {x1, y1}, {x2, y2} )
A function that returns the midpoint, M[xm, ym], of two points P(x1, y1) and Q(x2, y2), in a Cartesian Coordinate system. The points may be entered as lists { , }, or vectors [ , ].




2.9 linepq( {x1, y1}, {x2, y2} )
A function that returns the equation of a line passing through two points, P(x1, y1) and Q(x2, y2), in a Cartesian Coordinate system. The points may be entered as lists { , }, or vectors [ , ]. The output function is in standard form y = mx + b.




2.10 linepm( {x1, y1}, m )
A function that returns the equation of a line passing through a point P(x1, y1) and with slope m, in a Cartesian Coordinate system. The point may be entered as a list { , }, or a vector [ , ]. The output function is in standard form y = mx + b.




These last four programs can be downloaded together as lines.zip.


2.11 parab2( V, P )
A function that returns the equation of a parabola passing through the vertex V(x, y) and a point P(x, y), in the Cartesian Coordinate system. The points may be entered as a list { , }, or a vector [ , ]. The output function is in standard form y = a*x^2 + b*x + c.




2.12 parab3( P1, P2, P3 )
A function that returns the equation of a parabola passing through three non-collinear and non-vertically aligned points P1(x, y), P2(x, y), and P3(x, y) in the Cartesian Coordinate system. The points may be entered as a list { , }, or a vector [ , ]. The output function is in standard form y = a*x^2 + b*x + c.




2.14 vrtx( expr, var )
A function that computes the vertex of the quadratic expression expr in variable var.




2.16 lagrange( mat )  - by Alex Astashyn
A function that returns the polynomial of degree n - 1 which passes through the n points in matrix mat . The matrix of points is an n x 2 matrix where the n th row consists of the x and y coordinates of the n th point.




2.19 Conics( eqn )  - by Scott Campbell
Conics.zip is a collection of programs that will work together to display information about conic sections. The programs must all be placed in the same folder.


Conics( eqn ) takes an equation eqn describing a conic section as the only argument. The equation may be in any form, but the variables must be x and y. Upon execution, the program will present a menu of output choices.




General form :
Standard form :
ellipse:
hyperbola:
parabola:

Points returns a matrix of information describing the conic. Center, Vertices, Foci, Directrix, Asymptotes, and Orientation of the primary axis are given as appropriate.


Try it with parabolas, ellipses, hyperbolas, and degenerate conics. If the conic does not have it's axis parallel to either the x or y axes the program transforms the variables and writes a new equation in new variables x' and y'. The new equation is a conic that does have its axis aligned with one of the coordinate axes. This transformed conic has the shape of the original conic but has been rotated by an angle so that it may be recognized in one of the three standard forms above.


All the points in the Points matrix are in the new x' - y' system, NOT the original system. The rotation angle, , will be found in the Points matrix. This angle is the amount of rotation that was required to align the original conic with one of the Cartesian axes and will be displayed in degrees or radians according to your mode setting.
.







If it was necessary to rotate the original conic, the coordinates of points in the ORIGINAL x - y system are stored in the Rotated matrix.


ConicR( eqn, angle ) is a program to rotate a conic equation by a given angle. There are two input arguments. The first is the equation for the conic section, in any equation form. The second is the angle in degrees or radians but the same as your mode setting. The output choices are obvious, but standard is a real equation that may be pasted and used in a calculation or a graph.


ConicP( polarEqn ) will convert a conic section in polar form to rectangular form. Your calculator must be in Radian mode. The resulting equation may be further analyzed by pasting the result into Conics( ). If the rectangular equation has completed the square in x then the variable x is replaced by the variable z to prevent the calculator from automatically expanding the output. This z must be replaced again by x before the equation can be used by Conics( ).






ConicF( ) is a program that finds various conic sections from point data and geometric properties. Possibilities include vertex, focus, center, directrix, eccentricity, and multiple points. The program prompts for the input after the type of data available is selected from a menu. There is currently no error checking for data input with no possible solution. Conics( ) must be in the same directory as ConicF( ) to complete the solution process. The solution is complete when the Conics( ) menu screen appears. Change to he HOME screen and select the desired menu item.






ConicG( ) is a program that graphs the conic equation eqn that is currently stored in memory ( usually from the program Conics( ) ). There are no input arguments. The graph is automatically formatted to fit in the center of the window and the calculator is set to parametric mode.




2.22 plane3( P1, P2, P3 )
Plane3( P1, P2, P3 ) is a function that returns the equation of a plane given 3 points that lie in the plane. The points may be in list format or in vector format


2.23 planeNP( V, P )
PlaneNP( V, P ) is a function that returns the equation of a plane given a normal vector V and a point P that lies in the plane. The point may be in list format or in vector format.




2.24 planeD( eq , P )
PlaneD( eq , P ) is a function that returns the distance from a point P to a plane whose equation is eq. The point P may be in list format or in vector format.