1 Pages (3 items)
Another Maxima Plugin use problem - Help for a good choice. - Messages
#1 Posted: 3/29/2026 9:08:22 PM
Hello Everybody,
I need your help for a subject concerning the « Maxima » plugin.
Of course, my first thought goes to Martin, he already has gently helped me with the Maxima use rules.
My problem is this:
I need to use the geometrical characteristics of a volume having a face type “paraboloid hyperboloidal” as in the annexed file:
Synthese PH - ID 2026.sm (395.85 KiB) downloaded 5 time(s).
I used SMath – Maxima to solve my problem.
I face a dilemma as this:
A. If I deal the subject by using a symbolic integration with Maxima and the I check with a numerical application, my results are wrongs.
B. If I apply Maxima symbolically, I obtain very long lines with the results, but the numerical tests given good results.
My question is:
Is there a way to avoid the use the B solution and to have good results with the A solution? Or, finally, even to have a better organization of the B solution (?).
Thanks for your attention and for any help,
Ioan
I need your help for a subject concerning the « Maxima » plugin.
Of course, my first thought goes to Martin, he already has gently helped me with the Maxima use rules.
My problem is this:
I need to use the geometrical characteristics of a volume having a face type “paraboloid hyperboloidal” as in the annexed file:
Synthese PH - ID 2026.sm (395.85 KiB) downloaded 5 time(s).
I used SMath – Maxima to solve my problem.
I face a dilemma as this:
A. If I deal the subject by using a symbolic integration with Maxima and the I check with a numerical application, my results are wrongs.
B. If I apply Maxima symbolically, I obtain very long lines with the results, but the numerical tests given good results.
My question is:
Is there a way to avoid the use the B solution and to have good results with the A solution? Or, finally, even to have a better organization of the B solution (?).
Thanks for your attention and for any help,
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
#2 Posted: 3/30/2026 8:34:41 PM
This one is a bit more tricky. Yet the wrong shape of the result (vector instead of scalar values) indicated the search direction.
The immediate fix is to redefine f, g and h such that they are evaluated to scalars before storage.
Both definitions display equally but store differently.
The problem arises when the non-simplified product of two vectors is conveyed to Maxima. In Maxima, the product of two vectors is executed elementwise. If you want the scalar product, you have to transpose the first factor. And extract the singleton element from the resulting 1x1 matrix.
I don't claim understanding the issue, the solution was merely found heuristically.


The immediate fix is to redefine f, g and h such that they are evaluated to scalars before storage.
Both definitions display equally but store differently.
The problem arises when the non-simplified product of two vectors is conveyed to Maxima. In Maxima, the product of two vectors is executed elementwise. If you want the scalar product, you have to transpose the first factor. And extract the singleton element from the resulting 1x1 matrix.
I don't claim understanding the issue, the solution was merely found heuristically.


Edited 3/30/2026 8:37:35 PM
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 users liked this post
ioan92 3/31/2026 9:36:00 AM
#3 Posted: 3/31/2026 10:08:56 AM
Hi Martin,
Miracle! Miracle! Miracle!
At first glance, what does it count for me is the nice result.
The execution speed seems good enough for the inclusion in a practical application.
I noticed that once convoked “MaximaTakeover” it is no more necessary to invoke “Maxima” for every use.
As about your “witchcraft”, I’m ashamed to follow partially only.
Of course, as any tool, once better understood, you improve the security for its good use.
Finally, thank you for your generous help.
Best regards,
Ioan
Miracle! Miracle! Miracle!
At first glance, what does it count for me is the nice result.
The execution speed seems good enough for the inclusion in a practical application.
I noticed that once convoked “MaximaTakeover” it is no more necessary to invoke “Maxima” for every use.
As about your “witchcraft”, I’m ashamed to follow partially only.
Of course, as any tool, once better understood, you improve the security for its good use.
Finally, thank you for your generous help.
Best 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
1 Pages (3 items)
- New Posts
- No New Posts