SMath Studio Forum
»
SMath Studio
»
Questions
»
SMath Studio gives wrong result for this integral; BUG in SMath
Rank: Advanced Member Groups: Registered
Joined: 04/10/2024(UTC) Posts: 39
|
Hi, Why SMath studio does not give at least the correct result which is 0.263 for this integral? Mathcad Prime 10: -1.849 result is comming from symbolic result calculation, which is wrong in this case, but numeric result 0.263 is correct here also in mathcad prime 10. Mathcad Prime 6: SMath Studio: Wolfram mathematica: Edited by user 15 October 2024 00:27:16(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 04/10/2024(UTC) Posts: 39
|
Will be good if somebody can announce the owner of SMath Studio...
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,573 Was thanked: 1325 time(s) in 776 post(s)
|
You must clear previous results (implicit definitions). If you do not, the task statement may change. To be sure, do each check separately in a new document. maple-int-arcsin.sm (8kb) downloaded 2 time(s).Edited by user 15 October 2024 00:57:56(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,169 Was thanked: 530 time(s) in 356 post(s)
|
It gives correct results, even with embedded or maple. You need to change arcsin() function to asin() however. Regards
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 04/10/2024(UTC) Posts: 39
|
Originally Posted by: overlord It gives correct results, even with embedded or maple. You need to change arcsin() function to asin() however. Regards Could you post also the worksheet? As I do not know why my function arcsin(x) definition is not taken into account
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,573 Was thanked: 1325 time(s) in 776 post(s)
|
There may be different regional settings here. What you see as a plugin error is not always a plugin error. It may be an error in interpreting the results from the plugin or an error in the program itself. A little investigation is needed to clarify the details of the crime. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,169 Was thanked: 530 time(s) in 356 post(s)
|
Originally Posted by: Marius0 Could you post also the worksheet? As I do not know why my function arcsin(x) definition is not taken into account Here it is, regards int-embedded_maple.sm (7kb) downloaded 3 time(s).
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 17/04/2021(UTC) Posts: 2
|
I tried to run this worksheet, and was asked to install Maple Tools. I tried to do this twice and both times, SMath crashed during the install - just vanished into the thin electron cloud, without so much as a goodbye or reason for leaving.
This is on a fresh install of SMath on a new Windows 11 PC that has never had SMath installed before.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,169 Was thanked: 530 time(s) in 356 post(s)
|
Originally Posted by: Stuart Bruff Y I tried to run this worksheet, and was asked to install Maple Tools. I tried to do this twice and both times, SMath crashed during the install - just vanished into the thin electron cloud, without so much as a goodbye or reason for leaving.
This is on a fresh install of SMath on a new Windows 11 PC that has never had SMath installed before. I believe there is a problem with smath servers. It gives the error if you try to install plugin. Please be patient, it will be fixed soon I guess.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 17/04/2021(UTC) Posts: 2
|
Originally Posted by: overlord Originally Posted by: Stuart Bruff Y I tried to run this worksheet, and was asked to install Maple Tools. I tried to do this twice and both times, SMath crashed during the install - just vanished into the thin electron cloud, without so much as a goodbye or reason for leaving.
This is on a fresh install of SMath on a new Windows 11 PC that has never had SMath installed before. I believe there is a problem with smath servers. It gives the error if you try to install plugin. Please be patient, it will be fixed soon I guess. OK, that sounds feasible. I did have some trouble downloading SMath, with multiple requests to retry the download. It would be nice if SMath handled the installation failure with an error message rather than just disappearing.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 04/10/2024(UTC) Posts: 39
|
Originally Posted by: overlord Originally Posted by: Stuart Bruff Y I tried to run this worksheet, and was asked to install Maple Tools. I tried to do this twice and both times, SMath crashed during the install - just vanished into the thin electron cloud, without so much as a goodbye or reason for leaving.
This is on a fresh install of SMath on a new Windows 11 PC that has never had SMath installed before. I believe there is a problem with smath servers. It gives the error if you try to install plugin. Please be patient, it will be fixed soon I guess. Yes, so it seems to me that SMath has stability problems. By now SMath can give you the answer/correct answer, and after few moments later it can give you incorect answer or SMath to not work properly. Strange things happen with SMath from what I see so far regarding the stability of functionalities or how stable is smath...If today I reach the correct answer, and tomorrow I need to show to other people the results I obtained and then I found that tomorrow SMath did not want to calculate the answer from previos day or to show the answer which I reached a previous day ago, I will be in an embarrassing situation in front of other people
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 04/10/2024(UTC) Posts: 39
|
I see also the difference between Maxima engine and maple version 6 engine (in symbolic answer). With maxima engine the result is more a rational approximation of an irrational result. I would expected something similar as maple engine give when evaluating integral symbolically.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,026 Was thanked: 1153 time(s) in 739 post(s)
|
Maxima can't handle the integral. It returns a slightly modified symbolic representation. This is hidden by SMath postprocessing of the symbolic results (which doesn't seem to be suppressed for Optimization> None. There seems to be a problem in preprocessing/translation when using the Int() function. Worksheet20.sm (8kb) downloaded 2 time(s). |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,169 Was thanked: 530 time(s) in 356 post(s)
|
Originally Posted by: mkraska There seems to be a problem in preprocessing/translation when using the Int() function. There is a load("abs_integrate)$ statement for these kind of situations. If not used, maxima can't parse absolute integrals as I have understood. https://maxima.sourceforge.io/docs/manual/de/maxima_181.htmlIt doesn't work on my linux commandline maxima however. Possibly missing the module. Regards
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
SMath Studio gives wrong result for this integral; BUG in SMath
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.