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 TheWizEd  
#1 Posted : 04 May 2011 23:31:10(UTC)
TheWizEd


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2010(UTC)
Posts: 178
Man
United States

Was thanked: 19 time(s) in 13 post(s)
I've been using SMath (0.89) for about a year now and never experience this. Its why I alway put the result next to the equation to be sure I'm getting a reasonable result. The value of Wdsw is 10^31 when it should have been only 757. If I set optimization as Numeric I get the correct result. More reason to keep a check on running results. If I hadn't who knows what the final result would be. Confusion


Ed

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

Offline omorr  
#2 Posted : 05 May 2011 13:58:51(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 Ed,

This is one more example among others where the "Symbolic" optimization had problems with. I tried to reproduce it and the value of W.dsw is somewhat different than in your case.
Open in SMath Cloud
Here - "None" or "Numeric" will give the correct numerical value.

Someone on this Forum suggested having the option to set "None" or "Numeric" as default instead of "Symbolic". optimization. I suppose that this might be one of the possibility, until the fixing of this problem.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline eng01  
#3 Posted : 18 May 2011 12:10:25(UTC)
eng01

Rank: Newbie

Groups: Registered
Joined: 18/05/2011(UTC)
Posts: 1

atan(0.5) = 1.5359 according to SMath Studio... I beg to differ

angle units set to degrees
using version 0.89 (build 3856)

Offline omorr  
#4 Posted : 18 May 2011 12:30:07(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,

This was a known issue and corrected in 0.89.9. There is no "Angle units" option anymore
radians - no units or unit "rad"
degrees - units "deg" or "°"
Open in SMath Cloud

Strange?? Live version gives wrong result here. The 0.89.8 version gives the correct result
atan(0.5)=26.5651@'deg

Regards,
Radovan

EDIT: I messed up with "grad" and "deg", sorry Blush

Edited by user 18 May 2011 15:36:04(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Peter  
#5 Posted : 18 May 2011 15:04:48(UTC)
Peter


Rank: Member

Groups: Registered
Joined: 04/10/2010(UTC)
Posts: 16
Location: Hörselgau, Germany

Was thanked: 8 time(s) in 6 post(s)
Hello Radovan,

I think, SMath live calculates correct.

But the result unit is grad, not degree (400grad = 400gon = 360degree).

Best Regards,
Peter
Offline omorr  
#6 Posted : 18 May 2011 15:33:12(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)
Peter wrote:
...But the result unit is grad, not degree (400grad = 400gon = 360degree).

Thank you Peter, you are right.
Sorry, my mistake - I messed up "grad" and "deg" Blush

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Peter  
#7 Posted : 19 May 2011 08:35:16(UTC)
Peter


Rank: Member

Groups: Registered
Joined: 04/10/2010(UTC)
Posts: 16
Location: Hörselgau, Germany

Was thanked: 8 time(s) in 6 post(s)
Hello Radovan,

in my opinion the unit 1grad = 1gon in SMath leads to mistakes, because grad is
normally used as alternative for deg.
To avoid confusion and mistakes I recommend to delete the unit grad from the unit-list in SMath or redefine it.
Btw., in MathCad: 1Grad = 1deg

Best Regards,
Peter
thanks 1 user thanked Peter for this useful post.
on 19/05/2011(UTC)
Users browsing this topic
Guest
Similar Topics
Strange results of nested vectorize() for nested matrices (Bugs & Problems)
by mikekaganski 22/04/2016 12:40:34(UTC)
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.