| Author |
Message |
123456
Joined: 14 Jan 2010 Posts: 2
|
Posted: January 14, 2010 4:10 PM Post subject: Plotting and graphing in 3D? |
|
|
Hey everybody
I've got a question:
Is it possible to plot points/dots (not sure if that's the right word) and graf lines in 3 dimensions?
I know that you can set the graf-mode to 3D in "mode", but this, as fare as i know, only gives me the ability to graf surfaces, which I am not interested in.
- I wish to graf a line, eg. m: (x,y,z) = (1,2,3)+t*(2,4,1), where (2,4,1) are the co-ordinates for the vector indicating the direction of the line and (1,2,3) a point/dot on the line.
- I wish to plot points/dots in a system of co-ordinates (3 axis) and calculate the distance between them.
Is any of this possible? |
|
| Back to top |
|
 |
BlainUSM
Joined: 24 Oct 2009 Posts: 30 Location: New England
|
Posted: January 16, 2010 8:22 PM Post subject: |
|
|
The first part of your post would be more appropriate for the BASIC/ASM programming forums. Please keep in mind that someone with 3D programming experience may be able to provide you with a simpler solution.
Unfortunately, TI does not seem to provide functionality for plotting points, line segments, or curves in R^3. However, 3rd party programs provide alternatives. If you're really set on using a TI-89 to construct graphical objects in 3D, you may want to visit the following website:
http://www.acdca.ac.at/material/t3/t33dobj.htm
You may be able to obtain a copy of the program discussed there. The author lists his contact information, and he seems open to inquiries/requests. The program he discusses is called “pres()”and likely has the functionality you desire. |
|
| Back to top |
|
 |
BlainUSM
Joined: 24 Oct 2009 Posts: 30 Location: New England
|
Posted: January 16, 2010 9:04 PM Post subject: |
|
|
On the TI-89, a function (the Euclidean metric) may be easily defined for calculating the (Euclidean) distance between any two points in R^n, where n is a positive integer. At the home screen type the following*:
Define dist(a, b) = sqrt(sum((a-b)^2, 1, dim(a)))
*Note that to access the square root symbol push "2nd" and then the multiplication sign. Don't enter "sqrt".
Now try the following two exercises to check your code.
1. Enter “dist({0,0,0},{1,1,1})”. The output should be sqrt(3), which is the (Euclidean) distance between the points (0,0,0) and (1,1,1) in R^3.
2. Enter “dist({0,0}, {1,1})”. The output should be sqrt(2), which is the (Euclidean) distance between the points (0,0) and (1,1) in the plane. |
|
| Back to top |
|
 |
123456
Joined: 14 Jan 2010 Posts: 2
|
Posted: January 17, 2010 9:00 AM Post subject: |
|
|
Thanks a lot BlainUSM
Your second post worked fine for me and I think I'm gonna ask for the program pres() as you suggest. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
Saphic 1.5 // Theme created by Sopel
|
|