Cannot solve a matrix equation with the Maxima plug-in

Cannot solve a matrix equation with the Maxima plug-in - 消息

#1 已发布: 2023/6/13 06:19:51
EngMath

EngMath

0个赞,共51个帖子。

组: User

Hi,

I'd like to solve the following equation involving matrices for unknown v and θ:



After inputting it in the format used by the Maxima plug-in I get the "no result" message:



Am I doing something wrong ?

Matrix equation.sm (8.59 KiB)已下载 1441 次。
#2 已发布: 2023/6/13 08:42:27
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Am I doing something wrong ?


Your setup is not correct.

Solve.PNG

#3 已发布: 2023/6/13 09:18:31
StvMath

StvMath

44个赞和1个踩,共76个帖子。

组: User

I think the problem is that the units don't match. Compare the units of the components of the two terms inside the brackets that multiply the [v; theta] vector.

#4 已发布: 2023/6/13 09:29:58
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I think the problem is that the units don't match.
Compare the units of the components of the two terms inside the brackets
that multiply the [v; theta] vector.


FindRoots ignores Units. Code the image first.

Solve FindRoots Complex Forum.sm (11.09 KiB)已下载 1504 次。
#5 已发布: 2023/6/13 09:30:57
EngMath

EngMath

0个赞,共51个帖子。

组: User

Wrote


Your setup is not correct.

Solve.PNG



Thank you, I didn't know that I should use the Nonlinear Solvers plug-in instead of the Maxima one.

It works now but the result is surprising. It should be something like v = - 0.021020 for the real part with this input data.

Wrote


I think the problem is that the units don't match. Compare the units of the components of the two terms inside the brackets that multiply the [v; theta] vector.



I also suspected the units initially but it didn't work without them either.
#6 已发布: 2023/6/13 11:17:16
StvMath

StvMath

44个赞和1个踩,共76个帖子。

组: User



I also suspected the units initially but it didn't work without them either.



In order to be able to add the two terms they must have the same units. However, omega^2*L doesn't have the same units as EI/L^3. The omega^2*... term seems to be missing a linear mass density (kg/m).
The fact that you might be able to get a numerical result by simply removing the units is irrelevant.
#7 已发布: 2023/6/13 14:55:41
EngMath

EngMath

0个赞,共51个帖子。

组: User

Wrote


In order to be able to add the two terms they must have the same units. However, omega^2*L doesn't have the same units as EI/L^3. The omega^2*... term seems to be missing a linear mass density (kg/m).
The fact that you might be able to get a numerical result by simply removing the units is irrelevant.



Right, I was wondering why density/mass is not included in that equation. Especially since it's included in the equation for tension (the one here is for bending): https://code-aster.org/V2/doc/v13/en/man_v/v2/v2.06.101.pdf

Maybe it's a typo and the density should be added before the first omega. Or omega means something different than I assumed (angular frequency).

Edit: I tried calculating mass per unit length based on the density and cross-section area provided in the document and then multiplying it by omega^2 but the result is v = 0,0175 which is still far from the expected value.
#8 已发布: 2023/6/13 16:34:30
Martin Kraska

Martin Kraska

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

组: Moderator

Besides correction of the unit mismatch, Solve seems to want the matrix equation in homogeneous form.

Matrix equation_Kr.png
Matrix equation_Kr.sm (14.1 KiB)已下载 1425 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#9 已发布: 2023/6/13 18:25:48
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi. Another way.

Clipboard01.png

Best regards.
Alvaro.
  • 有新帖
  • 无新帖