You are required to write a program in C++ that calculates the addition of vectors (minimum of five vectors) using the method Cartesian coordinate system.
2D or 3D? (using x-axis, y-axis and z-axis (aka.i,j and k)). This means actually your normal dimensions ;)
Use classes if you are allowed to use them in this.
The value of magnitude and the angle of direction given by the user. The program will display:
1. components of each vector
2. total force magnitude and direction.
You know how to make this using std::cin. (and some math using cmath library)
The program should provide the following features:
1. All the forces are given by the user interactively.
-meaning # of forces to be admitted? new/delete-operators
-if not: array?
2. The components of each force will be displayed in table form.
cmath library and std::cout.
Remember cmath library uses RADIANS as angle, not degrees.