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

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline captainblack  
#1 Posted : 13 March 2010 22:27:18(UTC)
captainblack


Rank: Member

Groups: Registered
Joined: 29/01/2010(UTC)
Posts: 13
Location: Portsmouth UK

Any ideas on what is going on here (it is to check a limit numerically for a question posted on mathhelpforum):



(the limit is exp(-1/3))

CB

Edited by user 13 March 2010 22:33:09(UTC)  | Reason: Not specified

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

Offline captainblack  
#2 Posted : 13 March 2010 22:40:30(UTC)
captainblack


Rank: Member

Groups: Registered
Joined: 29/01/2010(UTC)
Posts: 13
Location: Portsmouth UK

Is it because the function definition is not respecting the order of evaluation implied by the brackets?



CB
Offline Andrey Ivashov  
#3 Posted : 14 March 2010 08:17:03(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello.

This is known problem. The only way to beat it is to use workaround with round(...) function as shown on the screenshot below:


This will be fixed later.

P.S.: The same type of error reported here: x^y=error.
Offline captainblack  
#4 Posted : 14 March 2010 16:42:17(UTC)
captainblack


Rank: Member

Groups: Registered
Joined: 29/01/2010(UTC)
Posts: 13
Location: Portsmouth UK

smath wrote:
Hello.

This is known problem. The only way to beat it is to use workaround with round(...) function as shown on the screenshot below:


This will be fixed later.

P.S.: The same type of error reported here: x^y=error.


Thanks. I think I prefer the other work around from the other thread:



since it forces the order of evaluation.

CB

Edited by user 14 March 2010 16:44:54(UTC)  | Reason: Not specified

Offline Andrey Ivashov  
#5 Posted : 01 April 2010 06:26:44(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
To fix this I've added new useful option for every Math region, calls "Optimize evaluation".

It is possible now to prevent optimization of the function/variable definitions by symbolic library. Turning off the optimization can cause reducing of the evaluation performance, but it can increase it in some cases too. Also this feature can help to solve some possible issues in the future. See pictures bellow for further explanation:


Figure 1: Document with evaluation error.


Figure 2: Switching off control's optimization.


Figure 3: Document without evaluation error.

Feature will be available with the next SMath Studio release.

Regards.
Offline captainblack  
#6 Posted : 01 April 2010 21:09:51(UTC)
captainblack


Rank: Member

Groups: Registered
Joined: 29/01/2010(UTC)
Posts: 13
Location: Portsmouth UK

That looks great (it will solve at least one other problem I have been having)Clap

Thanks

CB

Edited by user 01 April 2010 21:11:30(UTC)  | Reason: Not specified

Offline omorr  
#7 Posted : 11 April 2010 01:01:14(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Andrey,

I hope this might fit under this topic.

There is "Explicit" function in SMath present (symbolic result only). I found this by browsing Russian side of the Forum. Moreover, this function is not present neither in the function list nor in the Dynamic assistant list. I am just courious, what would be with it. Are you intending to drop it out maybe?

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Andrey Ivashov  
#8 Posted : 11 April 2010 03:32:37(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
There are several undocumented functions (see three of them on the screenshot). They are not documented because I know some major problems related to them and don't want them to be used in the real worksheets, because they can be excluded from future versions of SMath Studio.



For now these functions can be used as some easter eggs of the program Biggrin

Regards.
Offline omorr  
#9 Posted : 11 April 2010 04:23:11(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
I thought the reason might be as axplained.
Thanks anyway Good

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
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.