1 Pages (8 items)
Vector Addition (scalar, direction) with vector result - How to add vectors (scalar, direction) and get a vector result - Messages
#1 Posted: 9/19/2013 1:54:12 PM
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.
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 Posted: 9/20/2013 12:11:07 PM
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 Posted: 9/20/2013 5:14:59 PM
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
http://www.1728.org/vectors.htm
I might be wrong but SMath does not calculate sum of vectors given in polar coordinates correctly
1 users liked this post
Davide Carpi 9/20/2013 5:57:00 PM
#4 Posted: 9/20/2013 6:03:54 PM
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 KiB) downloaded 46 time(s).
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 KiB) downloaded 46 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Posted: 9/20/2013 6:06:30 PM
Wroteoops 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 Posted: 9/21/2013 6:58:41 AM
#7 Posted: 9/21/2013 8:10:45 AM
WroteNote 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().
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Posted: 9/21/2013 8:38:27 AM
@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.
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 users liked this post
ioan92 9/21/2013 8:57:00 AM
1 Pages (8 items)
-
New Posts
-
No New Posts