1 страниц (3 вхождений)
MAXIMA PLUGIN - Problem when solving a system of equations with MAXIMA PLUGIN - Сообщения
Hi, I'm new to using Smath.
I'm having trouble solving systems of equations with Maxima. The "Solve" function returns very precise numbers (in fractions), and then the "Assign" function says the number is either too large or too small.
My problem can be seen on page 6
TP03.sm (1,95 МиБ) скачан 20 раз(а).
I'm having trouble solving systems of equations with Maxima. The "Solve" function returns very precise numbers (in fractions), and then the "Assign" function says the number is either too large or too small.
My problem can be seen on page 6
TP03.sm (1,95 МиБ) скачан 20 раз(а).
Отредактировано 30.03.2026 01:42:19
Hi Jasmin,
It seems that the F2 value is undefined ?
Regards,
Ioan
It seems that the F2 value is undefined ?
Regards,
Ioan
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
@Ioan: F2 seems to be an unknown, so it is ok to be undefined.
The problem is that you use a symbolic solver and feed it with floating point equations. What do you expect? The solver is forced to resort to extremely long rational numbers in order to avoid cancellation of significant digits,
Use a numerical solver instead or set everything up to the solver command to symbolic optimization.
Then you get an exact solution, which is reasonably compact.

Here is an old SMath sheet of mine for planar truss structures.
Fachwerk Kran.sm (78,17 КиБ) скачан 11 раз(а).
The problem is that you use a symbolic solver and feed it with floating point equations. What do you expect? The solver is forced to resort to extremely long rational numbers in order to avoid cancellation of significant digits,
Use a numerical solver instead or set everything up to the solver command to symbolic optimization.
Then you get an exact solution, which is reasonably compact.

Here is an old SMath sheet of mine for planar truss structures.
Fachwerk Kran.sm (78,17 КиБ) скачан 11 раз(а).
Отредактировано 30.03.2026 21:03:12
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 пользователям понравился этот пост
ioan92 31.03.2026 08:39:00
1 страниц (3 вхождений)
- Новые сообщения
- Нет новых сообщений