1 Pages (9 items)
Maxima plug-in - systems of linear equations - Messages
#1 Posted: 3/29/2021 8:46:02 AM
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 KiB) downloaded 30 time(s).
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 KiB) downloaded 30 time(s).
#2 Posted: 3/29/2021 10:29:23 AM
#3 Posted: 3/29/2021 10:44:54 AM
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 Posted: 3/29/2021 11:24:44 AM

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 users liked this post
EngMath 5/30/2021 9:01:00 AM
#5 Posted: 3/29/2021 11:39:50 AM
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.

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 Posted: 3/29/2021 1:18:37 PM
#7 Posted: 3/29/2021 1:55:15 PM
#8 Posted: 3/29/2021 2:16:44 PM
fractions to decimal :

with numeric optime, but remember you firsth must declare x & y
with Assign command.

with numeric optime, but remember you firsth must declare x & y
with Assign command.
1 Pages (9 items)
-
New Posts
-
No New Posts