How to use this applet:
The applet is quite simple to use. You can draw a vector on the graph area
and the panel below will give the vectors component, it's magnitude and it's direction.
If the clear button is pressed, the graph area will be cleared and you will be starting
from scratch. If the additional info button is pressed a brief description
of how the vector co-ordinate system works.
Notes on the maths used in the applet:
The vector component is calulated by the formula (x2 - x1, y2 - y1).
The vectors magnitude is calculated by the formula
| | ___ |
| Ö | (x2 - x1)2 + (y2 - y1)2 |
The vectors direction is calculated using the formula
|
| | y component | |
|
|
| | magnitude of vector | |