Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Cornel  
#1 Posted : 15 October 2024 00:21:07(UTC)
Cornel


Rank: Advanced Member

Groups: Registered
Joined: 04/10/2024(UTC)
Posts: 39
Man

Hi,

Why SMath studio does not give at least the correct result which is 0.263 for this integral?


Mathcad Prime 10:

int1mathcad10.png

-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:

int1mathcad6.png


SMath Studio:

int1smath.png

Wolfram mathematica:

int1wolfram.png

Edited by user 15 October 2024 00:27:16(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Cornel  
#2 Posted : 15 October 2024 00:24:40(UTC)
Cornel


Rank: Advanced Member

Groups: Registered
Joined: 04/10/2024(UTC)
Posts: 39
Man

Will be good if somebody can announce the owner of SMath Studio...
Online uni  
#3 Posted : 15 October 2024 00:44:24(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,576
Man
Russian Federation

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.png

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
Online overlord  
#4 Posted : 15 October 2024 00:47:14(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,171
Turkey

Was thanked: 531 time(s) in 357 post(s)
It gives correct results, even with embedded or maple.
You need to change arcsin() function to asin() however.

Regards

2024-10-14_14-44.png
thanks 1 user thanked overlord for this useful post.
on 15/10/2024(UTC)
Offline Cornel  
#5 Posted : 15 October 2024 01:15:59(UTC)
Cornel


Rank: Advanced Member

Groups: Registered
Joined: 04/10/2024(UTC)
Posts: 39
Man

Originally Posted by: overlord Go to Quoted Post
It gives correct results, even with embedded or maple.
You need to change arcsin() function to asin() however.

Regards

2024-10-14_14-44.png



Could you post also the worksheet? As I do not know why my function arcsin(x) definition is not taken into account

not.png
Online uni  
#6 Posted : 15 October 2024 01:22:09(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,576
Man
Russian Federation

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
Online overlord  
#7 Posted : 15 October 2024 02:32:24(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,171
Turkey

Was thanked: 531 time(s) in 357 post(s)
Originally Posted by: Marius0 Go to Quoted Post
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).

2024-10-14_16-31.png
thanks 1 user thanked overlord for this useful post.
on 15/10/2024(UTC)
Offline Stuart Bruff Y  
#8 Posted : 15 October 2024 05:46:58(UTC)
Stuart Bruff Y

Rank: Newbie

Groups: Registered
Joined: 17/04/2021(UTC)
Posts: 2
United Kingdom

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.
Online overlord  
#9 Posted : 15 October 2024 06:17:05(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,171
Turkey

Was thanked: 531 time(s) in 357 post(s)
Originally Posted by: Stuart Bruff Y Go to Quoted Post
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.
Offline Stuart Bruff Y  
#10 Posted : 15 October 2024 06:30:55(UTC)
Stuart Bruff Y

Rank: Newbie

Groups: Registered
Joined: 17/04/2021(UTC)
Posts: 2
United Kingdom

Originally Posted by: overlord Go to Quoted Post
Originally Posted by: Stuart Bruff Y Go to Quoted Post
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.
Offline Cornel  
#11 Posted : 15 October 2024 19:58:25(UTC)
Cornel


Rank: Advanced Member

Groups: Registered
Joined: 04/10/2024(UTC)
Posts: 39
Man

Originally Posted by: overlord Go to Quoted Post
Originally Posted by: Stuart Bruff Y Go to Quoted Post
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
Offline Cornel  
#12 Posted : 15 October 2024 20:05:02(UTC)
Cornel


Rank: Advanced Member

Groups: Registered
Joined: 04/10/2024(UTC)
Posts: 39
Man

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.

int2.png
Offline mkraska  
#13 Posted : 15 October 2024 22:00:37(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,026
Germany

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.png
Worksheet20.sm (8kb) downloaded 2 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Online overlord  
#14 Posted : 16 October 2024 00:58:07(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,171
Turkey

Was thanked: 531 time(s) in 357 post(s)
Originally Posted by: mkraska Go to Quoted Post
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.html
It doesn't work on my linux commandline maxima however.
Possibly missing the module.

Regards
Users browsing this topic
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.