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 - 消息

#1 已发布: 2013/9/19 13:54:12
thesansman

thesansman

0个赞,共1个帖子。

组: 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 已发布: 2013/9/20 12:11:07
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2013/9/20 17:14:59
kilele

kilele

134个赞,共397个帖子。

组: 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
1位用户喜欢此帖子
Davide Carpi 2013/9/20 17:57:00
#4 已发布: 2013/9/20 18:03:54
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: 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)已下载 1480 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#5 已发布: 2013/9/20 18:06:30
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2013/9/21 06:58:41
kilele

kilele

134个赞,共397个帖子。

组: 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 已发布: 2013/9/21 08:10:45
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: 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 已发布: 2013/9/21 08:38:27
kilele

kilele

134个赞,共397个帖子。

组: 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.
1位用户喜欢此帖子
ioan92 2013/9/21 08:57:00
  • 有新帖
  • 无新帖