I have a CP400 Classpad and would like to do some 3D vector calculations directly with brackets.
I know 2D vectors is possible (working in a plane) but I need to work in 3D space.
When I say 3D vectors I mean vectors with three coordinates of end point from origo (or vectors with three coordinates for start point and three coordinates for end point if it doesn't start in origo).
3D vectors can also be specified with a length and three angles specified from x axis, y axis and z axis (actually preferable if possible as measurements in the field are often taken this way).
So how do I for example find the length of the vector below?
How do I find the three angles from x-axis to the vector, from y-axis to the vector and from z-axis to the vector?
Vector: from [1,2,3] to [4,5,6] in 3D space
What is the angles between these two vectors?
Vector a: from [7,8,9] to [10,11,12] in 3D space
Vector b from [13,14,15] to [16,17,18] in 3D space
Are there an equivalent funcntion like angle([1,2,3],[4,5,6]) that will output three angles?