1 страниц (5 вхождений)
    
Indefinite Integral - Wrong result when computing indefinite integral with sqrt(x) using Maple in SMath Studio - Сообщения
Hello everyone,
I’m trying to calculate an indefinite integral.sm (4,58 КиБ) скачан 79 раз(а).in SMath using the Maple plugin, as shown in the attached file.
However, the correct result should be:
6t^2-2*t^(3/2)
and I can’t get this result from Maple inside SMath — it returns a different expression instead.
Could someone please help me understand why this happens or how to make the Maple integration work properly?
Thank you in advance.
Sérgio Marques
            I’m trying to calculate an indefinite integral.sm (4,58 КиБ) скачан 79 раз(а).in SMath using the Maple plugin, as shown in the attached file.
However, the correct result should be:
6t^2-2*t^(3/2)
and I can’t get this result from Maple inside SMath — it returns a different expression instead.
Could someone please help me understand why this happens or how to make the Maple integration work properly?
Thank you in advance.
Sérgio Marques
Hi. The default variable in Maple is complex, hence the difficulties when requesting simplifications. However, this syntax makes it somewhat lacking in rigor, which can lead to incorrect results. Therefore, it should be used with caution.

Another way is to use assume in maple, but I don't know how to do it from SMath.
Best regards.
Alvaro.
            
Another way is to use assume in maple, but I don't know how to do it from SMath.
Best regards.
Alvaro.
1 пользователям понравился этот пост
SERGIO MARQUES DE SOUZA 19.10.2025 10:48:27
The Maxima kernel asks in such cases for the sign of the limit, the interface catches the question and responds with "yes". In the result, a corresponding message is included. 
You can avoid the message using assume().
In the maple plugin this would require to inject assume and the integration in a single maple call, as the maple session does not persist between the calls, while the Maxima session is persistent in the background. There are pros and cons with that approach.
indefinite integral.sm (7,02 КиБ) скачан 47 раз(а).

                    You can avoid the message using assume().
In the maple plugin this would require to inject assume and the integration in a single maple call, as the maple session does not persist between the calls, while the Maxima session is persistent in the background. There are pros and cons with that approach.
indefinite integral.sm (7,02 КиБ) скачан 47 раз(а).

Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
3 пользователям понравился этот пост
Alvaro Diaz Falconi 18.10.2025 21:04:09, SERGIO MARQUES DE SOUZA 19.10.2025 10:48:38, sergio 19.10.2025 14:36:31
4 пользователям понравился этот пост
sergio 19.10.2025 14:36:39, SERGIO MARQUES DE SOUZA 19.10.2025 10:48:49, NDTM Amarasekera 19.10.2025 01:08:26, Alvaro Diaz Falconi 19.10.2025 00:39:04
Hello
It really was enough to change Optimization > None for the result to appear correctly.
Thank you very much, everyone!
            It really was enough to change Optimization > None for the result to appear correctly.
Thank you very much, everyone!
        1 страниц (5 вхождений)
    
- Новые сообщения
- Нет новых сообщений
 
                