1页(6条)
Vector Algebra and Calculus - 消息
Hello,
Can I have two vectors written in vector form
F.1(vector)=F.1x(x unit vector, hat on top) + F.1y(y unit vector, hat on top)
and another one, similarly.
And add them, subtract them, multiply them (inner and outer products)
All written in vector notation?
Similarly, vector calculus operations.
Thank you,
Basile
Can I have two vectors written in vector form
F.1(vector)=F.1x(x unit vector, hat on top) + F.1y(y unit vector, hat on top)
and another one, similarly.
And add them, subtract them, multiply them (inner and outer products)
All written in vector notation?
Similarly, vector calculus operations.
Thank you,
Basile
1位用户喜欢此帖子
frapuano 2017/2/5 06:11:00
Jean,
I was looking to do operations using vectors, like forces in Physics.
Any idea?
Thank you,
Basile
I was looking to do operations using vectors, like forces in Physics.
Any idea?
Thank you,
Basile
You can perform vector operations. See below. I don't think SMath has a way to put "hats" on the varaibles, but to Jean's point you can just use something from the character map. He used ALT+136 to get e_hat in his example.


Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
There are some obstacles when trying to do (symbolic) vector algebra and calculus in SMath.
- You can't declare symbols as vectors or matrices (with non-commutative multiply.
- Therefore, symbolic simplifications may fail or produce wrong results.
- The cross product is overly picky about type of arguments, it requires expressions of type
matrix. Even just multiplying by a scalar will break it.
In the attached sheet, the attempt was made to solve some simple static problems using vectors.
If numerical values are given, this works to a certain degree.
The third, symbolic problem required a bit Maxima magic and manual copy and paste in order to get the solution.
There are some pages on matrix/vector operations in the interactive handbook.
13 Gleichgewicht im Raum.sm (196.02 KiB)已下载 1277 次。

- You can't declare symbols as vectors or matrices (with non-commutative multiply.
- Therefore, symbolic simplifications may fail or produce wrong results.
- The cross product is overly picky about type of arguments, it requires expressions of type
matrix. Even just multiplying by a scalar will break it.
In the attached sheet, the attempt was made to solve some simple static problems using vectors.
If numerical values are given, this works to a certain degree.
The third, symbolic problem required a bit Maxima magic and manual copy and paste in order to get the solution.
There are some pages on matrix/vector operations in the interactive handbook.
13 Gleichgewicht im Raum.sm (196.02 KiB)已下载 1277 次。

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
frapuano 2017/2/5 19:12:00
1页(6条)
- 有新帖
- 无新帖
