Vector Addition (scalar, direction) with vector result

Vector Addition (scalar, direction) with vector result - How to add vectors (scalar, direction) and get a vector result - Mensajes

#1 Publicado: 19/9/2013 13:54:12
thesansman

thesansman

0 me gusta en 1 mensajes.

Grupo: User

Hello all

I have two vectors with scalar and direction that I want to add and get a resulting vector that has scalar and direction. I can't seem to figure this out? Basically I have a force problem that I am solving for and I figured this would be best done by adding the vectors to get the resulting force however I can't seem to figure this out on SMath.

Thank-you to all who answer.
#2 Publicado: 20/9/2013 12:11:07
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

Can you post an example (from literature or made by you)?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Publicado: 20/9/2013 17:14:59
kilele

kilele

134 me gusta en 397 mensajes.

Grupo: User

oops I never tried this, I think he means this
http://www.1728.org/vectors.htm
I might be wrong but SMath does not calculate sum of vectors given in polar coordinates correctly
A 1 usuarios les gustó este mensaje
Davide Carpi 20/9/2013 17:57:00
#4 Publicado: 20/9/2013 18:03:54
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Actually, there are several ways to calculate vector sums. In 2D the most natural way for vectors given in polar form is using complex numbers. In mechanics, we usually transform to cartesian components, as this can be generalized to 3D.

Unfortunately, this example reveals that the handling of sums in Maxima plugin is very weak at the moment. Therefore, we have to "surrender" for the moment.
Example adding 2D vectors.sm (14,14 KiB) descargado 1459 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#5 Publicado: 20/9/2013 18:06:30
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

Wrote

oops I never tried this, I think he means this
http://www.1728.org/vectors.htm
I might be wrong but SMath does not calculate sum of vectors given in polar coordinates correctly


I think you are right; BTW is a quite simple problem, so one can build his own function, with the most appropriate input standard that he think better and, like has Martin said, there are several ways to process the problem
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Publicado: 21/9/2013 6:58:41
kilele

kilele

134 me gusta en 397 mensajes.

Grupo: User

I think the question is about adding vectors entered in polar form as in the first expression. Note that SMath does not return the correct result.

sumofvectorsinpolarform.png
#7 Publicado: 21/9/2013 8:10:45
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Wrote

Note that SMath does not return the correct result.


Lists and list operations are not a good representation for vectors and vector operations. If lists obtained by pol2xy are to be added, they must be converted to vectors using sys2mat().


lists.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#8 Publicado: 21/9/2013 8:38:27
kilele

kilele

134 me gusta en 397 mensajes.

Grupo: User

@ioan92
Nice explanation on how to get a result. The point of the original question, I think, was a direct way using only polar notation provided by SMath
@mkraska
I forgot to apply sys2mat to an expression involving more than one system, anyway the result of that sum is incorrect.
A 1 usuarios les gustó este mensaje
ioan92 21/9/2013 8:57:00
  • Nuevos mensajes
  • Sin mensajes nuevos