You are on page 1of 4

Script:

Good day, physicists! Welcome back to Vector-ious, wherein we tackle vectors, forces, and anything
under physics. Today, we are going to introduce our fabricated program that will help you in solving dot
product and cross product of vector quantities in a smooth and accurate way!

Our program is called “PRODUCTive.” With this program, solving is so much easier. What we did to
create this program was encode the necessary formula for the computation of the angle between
vectors and orthogonal component of the vectors by the application of dot product and cross products
of it. Here’s how to use the program:

Using this program is very simple. What you need to do is just input the corresponding values of vectors,
especially the unit vectors i, j, and k on the pink table. After that, the green colored tables will give you
the answer you desire without any hassle.

To show you how to use the program, let's try example No. 1.

We have the given values and we're going to encode them here on the table.

For vector A, we have I = 3, j = 7, and k = -6.

In vector B, we have I = -5, j = 4, and k = 3.

For vector C, I = -2, j = 9, and k = 9.

For the first part, we are going to compute for the angle between the vectors by using the application of
dot product. We need to compute first dot product of the vectors. The formula that we are going to use
is A.B = AxBx + AyBy + AcBc. This is the same formula that we encoded in the program. Using the
program, we’ll have dot product for the following vectors.

A.B = -5

B.C = 73 and

A.C = 3

On the next column, we have the magnitude of the vectors. Using the formula square root of Ai^2 +
By^2 + Cz^2, we’ll have these values. The magnitude for vector A is 9.69535971. Vector B’s magnitude is
7.07106781. Vector C’s magnitude is equal to 12.8840987.

To get the value of the angle, we need to solve for cosine theta. To solve for this, we are going to use
this formula. Dot product / Magnitude of first vector / Magnitude of second vector. After this, we’ll have
– 0.0729325 for vector A, 0.801279098 for vector B and 0.024016144 for vector C.

Now, we are going to solve for the angle. By using arccosine, we are going to have 94.1824 deg in
between vector A and B, 36.7476 deg in between vector B and C, and 88.6238 deg in between vector A
and C.

For the second part, we need to compute for the orthogonal component of the following vectors. Using
the formula dot product / magnitude, we’ll have these values.

B TO A = -0.515710623
A TO B = -0.707106781

B TO C = 5.665898838

C TO B = 10.32375901

A TO C = 0.232845158

C TO A = 0.309426374

For the last part, we will compute for the cross products of the following vectors. In this process, we will
apply the concept of matrix to solve it in an easier way. For solving the cross products, we will have to
encode again the values of the vectors in the table. Using the formula with the application of matrix,
we’re going to have the cross products of vectors. A X B = 45i + 21j + 47k while B X C = 9i + 39j – 37k and
for the A X C = 117i – 15j + 41k.

EXAMPLEEEEE

Let's try another example. We have this problem where we are assigned to compute the angle between
vectors and orthogonal component of the vectors by the application of dot product and cross products
of it.

Here are the given values:

Vector A = 15i + 7j + 3k

Vector B = -5i + 12j + 7k

Vector C = 3i + 9j - 4k

ENTER MO NA LANG TONG MGA VALUES NA TO SA TABLE NATIN. RECORD MO NA LANG DIN
HABANG NILALAGAY MO. GAYAHIN MO LANG TONG NAKALAGAY SA PIC.
Using the program, we can input the values given. After that, the answer to the dot product is shown.
Now, we have A.B = 30, B.C = 65, and A.C = 96. Also, because the formula was already encoded, you can
have an accurate answer for the magnitude, which 16.82260384 for vector A, 14.76482306 for vector B,
and 10.29563014 for vector C.

For the cosine theta, we have 0.120781325 for vector A, 0.427594566 for vector B, and 0.554274735 for
vector C.

Now, for the value of the angle, we have 83.06280279 deg in between vector A and B. 64.68499818 deg
in between vector B and C, and 56.33922518 deg in between vector A and C.

Also, since we have the automated program, we can compute automatically for the orthogonal
component of the ff. vectors. We have

B TO A = 1.783314895

A TO B = 2.031856384

B TO C = 6.313358105

C TO B = 4.4023555

A TO C = 9.324344279

C TO A = 5.706607663

For the cross product, we’re going to use the formula with the application of matrix. Now, we can see
the calculated results.

Based on the program, we’ll have

A X B = 13i - 120j + 215k while B X C = -111i + 1j – 81k and for the A X C = -55i + 69j + 114k.

By creating this type of program, we can solve more problems in a shorter time span. We can also
use this to verify if our manual calculations are accurate as well.

As we all observed, using the program was really easy. Also, the answers from manual and programmed
computations are the same. The only difference is that manual computations take longer. If you are
not satisfied with our demonstration of our easy "PRODUCTive" program, you can try it on your own
or watch the next video in our Vector-ious channel where you can use the program to compute.

We hope that you learned something today and that you'll try this program as well! Thank you!

--FINAL---

Letter C:

As we all observed, using the program was really easy. It was really beginner-user friendly. You just need
to input the values of the given vectors on the table and with that, you can easily get the answer. Also,
the answers from the manual and programmed computations are the same and both accurate since
they used both the fundamental formulas needed in solving. The main distinction between the two is
that the manual computations take longer.

You might also like