Because this is a long module with several parts, this TI-92 window also is long. You may want to use the links below to go directly to one part of this window.
You may want to look at the TI-92 help module vectors.
The following screen shows how to compute the dot product of two vectors using dotP and the magnitude or length of a vector from the dot product.

The TI-92 program below can be used to find the point where two lines "intersect" even when they do not exactly intersect because of measurement error.

where

and
P(t) = t L + (1 - t) S
Q(s) = s V + (1 - s) G
t (L - S).(L - S) + s (G - V).(L - S) = (G - S).(L - S)
t (L - S).(G - V) + s (G - V).(G - V) = (G - S).(G - V)
To use the program cross, type cross() and then ENTER in the TI-92 home screen and then follow the instructions. You will be asked for the location of the light source, the shadow, the viewer, and the apparent position on the ground as shown in the screens below. These must be entered as three dimensional vectors in the usual way -- with their coordinates separated by commas and enclosed by square brackets. After you have entered all the necessary information the program cross will find the point that is closest to the two lines and then print the result. The computation takes a few seconds. When the computation is complete press Green-Diamond HOME to return to the home screen.

-1 0 0 0 1 0
0 1 0 1 0 0
1 0 0 0 -1 0
0 -1 0 -1 0 0
-1 0 0 0 0 1
1 0 0 0 0 1
0 1 0 0 0 1
0 -1 0 0 0 1
The program below will create a matrix, pyramid, that contains this data. If your workstation has a TI-92 Graph Link cable, click on the button below, download the program pyrmdata in the usual way, and then run the program pyrmdata by typing pyrmdata() and then pressing ENTER in your home screen to create this matrix in your TI-92.
If you don't have a TI-Graph Link cable then you can enter the matrix by typing it in.

The program will ask you for theta, R, H, and the range as shown in the creen below.

The range determines the ranges of the x and y axes in the graph window. The y-axis runs from -range to range and the x-axis is chosen so that the scales for the two axes are the same. If range is the largest absolute value of all the coordinates in the matrix then everything will fit on the screen but you may want to make range a little bigger to allow room for margins or smaller if the picture doesn't entirely fill the screen. The screen below shows one photograph of the pyramid.

Use the same program to produce a series of photographs of your Tinkertoy house using your own matrix with the rods and points you found earlier.