Angle Of Vector - Sharp EL-9650 User Manual

Graphing calculator programmes
Hide thumbs Also See for EL-9650:
Table of Contents

Advertisement

Angle of Vector

Use the matrix operation feature to find the angle which forms the standard vector
and vector. The angle can be calculated at one time against the multiple vectors.
Calculation
Calculating vector inner product
Use the above expression to derive the following expression
= cos
-1
FLOWCHART
Start
Entry of number
of vectors
Definition of arrays
K = K + 1
Vector data entry
Y
K < M
Entry of standard
vector data
Calculation of
component of
standard vector
Calculation of
inner product
CALC
I = I + 1
END
Y
I > M
End
Calculation of
component of vector
Calculation of angle
and display of angle
12
a
a
b
| a | | b |
Enter no. of vectors for which
angles are calculated.
Arrays defined.
matA, matB, matC.
DATA
Counter for data entry.
Enter x component and Y
component of each vector.
Entry repeated by no. of vectors.
N
Enter x component and Y component
of standard vector.
Length component of standard
vector (scalar) calculated.
Product of matrices A and B
calculated.
Counter for calculation of angle.
Calculation repeated by no.
of vectors.
N
Length component of vector
(scalar) calculated.
Angle calculated and displayed.
EL-9650/9600c Graphing Calculator
b = | a | | b | cos
PROGRAMME LIST
Title : VECTOR
0
I
0 K
Print " Input NUMBER
Input N
N M
{M,2} dim (mat A)
{2,1}
dim (mat B)
{M,1} dim (mat C)
Label DATA
K + 1 K
Print " Input VECTOR
Print K
Input X
X mat A(K,1)
Input Y
Y mat A(K,2)
If K<M Goto DATA
Print "Input FUNDAMENTAL VECTOR
Input X
X mat B(1,1)
Input Y
Y mat B(2,1)
(mat B(1,1)
mat A mat B mat C
Label CALC
+ 1
If I>M Goto END
(mat A(I,1)
-1
cos
(mat C(I,1) / (A B))
Print "ANGLE OF VECTOR
Print I
Print " =
Print
Wait
Goto CALC
Label END
End
(MATRIX MODE)
2
2
+mat B(2,1)
) B
2
2
+mat A(I,2)
) A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

El-9600cEl-9450El-9400

Table of Contents