Strange results

Strange results - Messages

#1 Posted: 5/4/2011 4:31:10 PM
Edward Ulle

Edward Ulle

20 likes in 182 posts.

Group: Moderator

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.


Ed
#2 Posted: 5/5/2011 6:58:51 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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.
[LIVE width=461 height=588]http://smath.info/live/?file=2711[/LIVE]
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!"
#3 Posted: 5/18/2011 5:10:25 AM
eng01

eng01

0 likes in 1 posts.

Group: User

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

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

#4 Posted: 5/18/2011 5:30:07 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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 "°"
[LIVE width=226 height=60]http://smath.info/live/?file=2754[/LIVE]

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Posted: 5/18/2011 8:04:48 AM
Peter

Peter

9 likes in 16 posts.

Group: User

Hello Radovan,

I think, SMath live calculates correct.

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

Best Regards,
Peter
#6 Posted: 5/18/2011 8:33:12 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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"

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#7 Posted: 5/19/2011 1:35:16 AM
Peter

Peter

9 likes in 16 posts.

Group: User

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
1 users liked this post
Radovan Omorjan 5/19/2011 2:18:00 AM
  • New Posts New Posts
  • No New Posts No New Posts