Maxima plug-in - systems of linear equations

Maxima plug-in - systems of linear equations - Сообщения

#1 Опубликовано: 29.03.2021 08:46:02
EngMath

EngMath

0 сообщений из 51 понравились пользователям.

Группа: User

Hi,

I often have to solve systems of linear equations (usually equilibrium equations in statics) numerically or symbolically. So I have downloaded the Maxima plug-in from this thread: https://en.smath.com/forum/yaf_postst2078_Maxima-Plugin.aspx

It's installed and configured but I can't get Solve and LinSolve working.

I tested various ways of entering the equations but none of them works. Here's what I tried, among the others:



I'm not sure what's the correct syntax. I attached the sm file to this post. Or maybe the plug-in doesn't work properly on my machine, even though the installation and configuration were succesfull.

Also, I can't find the reference book/manual for this plug-in anywhere.

Thanks in advance for your help.

Maxima plugin equations.sm (5 КиБ) скачан 31 раз(а).
#2 Опубликовано: 29.03.2021 10:29:23
Fridel Selitsky

Fridel Selitsky

520 сообщений из 451 понравились пользователям.

Группа: User

Try like this
Maxima plugin equations1.sm (8 КиБ) скачан 99 раз(а).
#3 Опубликовано: 29.03.2021 10:44:54
EngMath

EngMath

0 сообщений из 51 понравились пользователям.

Группа: User

Thank you both for replies but I wonder what's the problem with my syntax. Why doesn't it work and how should I formulate the LinSolve or Solve function to solve such equations ? Or maybe that's the problem with Maxima plug-in ?
#4 Опубликовано: 29.03.2021 11:24:44
churichuro

churichuro

28 сообщений из 79 понравились пользователям.

Группа: User



for simple parametric equations, you can use the integrated
solver without problem (solve with lowercase "s" )

and for Maxima Solve (with a capital "S" ) you must use the right button of
the mouse and select optimize symbolically, that is the only detail you are
missing to obtain the answer you are looking for.



If you want to obtain results, the 2 expressions in the image above must be
evaluated with symbolic optimization.

Solve gives you a result, but does not define "x"
that's why you get the error x undefined
you can use Assign so that "x" is now defined

1 пользователям понравился этот пост
EngMath 30.05.2021 09:01:00
#5 Опубликовано: 29.03.2021 11:39:50
EngMath

EngMath

0 сообщений из 51 понравились пользователям.

Группа: User

Thank you very much, it works great now:



By the way, do you know how to convert these fractions to decimals ? I tried doing this from the menu available when clicking with right mouse button but it doesn't change anything.
#6 Опубликовано: 29.03.2021 13:18:37
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... from native Smath 6179

Anonymous.sm (35 КиБ) скачан 56 раз(а).
#7 Опубликовано: 29.03.2021 13:55:15
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Maple plugin can also solve equations.
And it doesn't require any additional software.
Just simple one click installation from plugins.
Though it will not write x=*** or y=***.

Regards

2021-03-29_19-43.png
#8 Опубликовано: 29.03.2021 14:16:44
churichuro

churichuro

28 сообщений из 79 понравились пользователям.

Группа: User

fractions to decimal :



with numeric optime, but remember you firsth must declare x & y
with Assign command.
#9 Опубликовано: 29.03.2021 14:57:20
EngMath

EngMath

0 сообщений из 51 понравились пользователям.

Группа: User

Many thanks to everyone, you really helped me a lot.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений