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

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline Jean Giraud  
#21 Posted : 05 July 2022 21:35:25(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Confirmed: works fine SS 6179
Offline Jean Giraud  
#22 Posted : 06 July 2022 02:55:11(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: avp Go to Quoted Post
What does this mean for me as a Smath user ?

Simoly: hope some user of your SS version will catch/isolate the bug.
Offline Razonar  
#23 Posted : 06 July 2022 03:24:50(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: avp Go to Quoted Post
...
Thank you. But the problem is not because of eval(). She's somewhere deeper. My f3(x) and f4(x) limits are ainterp() of the table data.


Hi avp. Try using eval() for ainterp().

Clipboard01.jpg

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 06/07/2022(UTC)
Offline avp  
#24 Posted : 06 July 2022 09:38:05(UTC)
avp


Rank: Member

Groups: Registered
Joined: 03/07/2017(UTC)
Posts: 10

Originally Posted by: Razonar Go to Quoted Post

Hi avp. Try using eval() for ainterp().


Thanks, this is how the integrals are calculated, but the function containing the integral inside still returns an error. Accordingly, the final result of the calculations still failed to be obtained.

Bezymjannyjj1.pngBezymjannyjj2.png

Proizvol'noe sechenie_no XLSX.sm (74kb) downloaded 4 time(s).
Offline Jean Giraud  
#25 Posted : 06 July 2022 15:29:07(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
The type errors your version reports is
wrt some limit(s) of the double integration.
Why specific to this version ?

Error Limits.png
Offline avp  
#26 Posted : 06 July 2022 17:00:48(UTC)
avp


Rank: Member

Groups: Registered
Joined: 03/07/2017(UTC)
Posts: 10

Originally Posted by: Jean Giraud Go to Quoted Post
The type errors your version reports is
wrt some limit(s) of the double integration.
Why specific to this version ?


I dont know. I wanted to know here why the calculation of integrals, which used to work well before, broke down after adding the ability to use the dimensions of units in integrals.
Offline Jean Giraud  
#27 Posted : 06 July 2022 17:54:42(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: avp Go to Quoted Post
I don't know. I wanted to know here why the calculation of integrals, which used to work well before, broke down after adding the ability to use the dimensions of units in integrals.

You have a good point about units in integral.
Attached is your saved working version.
Open in your latest SS. It may rescue the integrator.
God save the Queen and avp.
Cheers ... Jean.

Integrate Double Didactic Russia.sm (73kb) downloaded 16 time(s).

Offline Razonar  
#28 Posted : 08 July 2022 09:21:11(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Workarounds for the integration bug.

Proizvol'noe sechenie_no XLSX.sm (75kb) downloaded 9 time(s).
Proizvol'noe sechenie_no XLSX.pdf (261kb) downloaded 11 time(s).

Best regards.
Alvaro.
Offline avp  
#29 Posted : 08 July 2022 16:41:34(UTC)
avp


Rank: Member

Groups: Registered
Joined: 03/07/2017(UTC)
Posts: 10

Originally Posted by: Razonar Go to Quoted Post
Workarounds for the integration bug.


Hi, Alvaro.
The result is not correct. The result should be Kx = 1.233, Ky = 1.044
Offline Jean Giraud  
#30 Posted : 08 July 2022 19:09:49(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: avp Go to Quoted Post
The result is not correct. The result should be Kx = 1.233, Ky = 1.044

... those values are same in my document.
You didn't report working/crap ?
Offline Razonar  
#31 Posted : 09 July 2022 01:55:00(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: avp Go to Quoted Post

Hi, Alvaro. The result is not correct. The result should be Kx = 1.233, Ky = 1.044


Hi avp. I hope the problems with double integrals can be solved, because the calculation of double integrals that SMath had was quite powerful. The only way to calculate Kx, Ky would be to discretize and integrate over the cubic splines curve.

Proizvol'noe sechenie_no XLSX.sm (78kb) downloaded 9 time(s).
Proizvol'noe sechenie_no XLSX.pdf (288kb) downloaded 7 time(s).

Best regards.
Alvaro.

Edited by user 09 July 2022 02:00:47(UTC)  | Reason: Not specified

Offline Jean Giraud  
#32 Posted : 11 July 2022 02:11:01(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
This document is adapted/doctored in native Smath 6179.
It does not scratch Smath a bit.
As you download, after it has finished
it offers to update: click close to be back SS 6179.
Re=download and let it update latest SS.
If you have red as it complained, probably the integrator
is freaked in that version ... hard to explain.
Cheers ... Jean.

Integrate Double Didactic Russia (3).sm (75kb) downloaded 5 time(s).
Offline Jean Giraud  
#33 Posted : 11 July 2022 03:10:02(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
... code that test double integration in your latest SS.
Hoping more Collab will code as well to sanity.

Double Code.PNG
Users browsing this topic
2 Pages<12
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.