Program to solve resultant vectors?
I would like someone to help me if they could. Where to start. I wanna make a program that automatically solves resultant vectors.
How to solve resultant vectors:
Formulas:
X = MCosΘ
Y = MSinΘ
M = √X2+Y2
Θ = Tan-1(Y/X)
To start we need to find the X,and Y components of the first vector...
Let's says the magnitude of the first vector is 120m. and the Degrees is 15°.
and the magnitude of the second vector is 132m and the degrees is 20°.
We need to do 120Cos15° + 132Cos20° to get the X component of the resultant vector.
Next we do 120Sin15° + 132Sin20° to get the Y component of the resultant vector.
Now we need to find the magnitude of the vector so we use the m = √X^2+Y^2 formula which gives us the magnitude.
Now we need to find the direction (degrees) which is the ArcTan formula.
Any ideas on were to start?
How to solve resultant vectors:
Formulas:
X = MCosΘ
Y = MSinΘ
M = √X2+Y2
Θ = Tan-1(Y/X)
To start we need to find the X,and Y components of the first vector...
Let's says the magnitude of the first vector is 120m. and the Degrees is 15°.
and the magnitude of the second vector is 132m and the degrees is 20°.
We need to do 120Cos15° + 132Cos20° to get the X component of the resultant vector.
Next we do 120Sin15° + 132Sin20° to get the Y component of the resultant vector.
Now we need to find the magnitude of the vector so we use the m = √X^2+Y^2 formula which gives us the magnitude.
Now we need to find the direction (degrees) which is the ArcTan formula.
Any ideas on were to start?


