Rank: Newbie
Groups: Registered
Joined: 23/02/2012(UTC) Posts: 2 Location: UK
|
I found a minor problem with trigonometric functions. The following problem occurs only for a value of 30 degrees, as you can see the value of sin evaluates differently depending on the construction of the math. And only when I am modifying the value of phi in expression shown.
It would not be a problem if a value of phi = 30 was not common in geotechnical engineering.
φ:30deg γ:1.3 δ:atan(tan(φ)/γ) δ=23.9468@'deg β:sin(δ) β=1.2177 sin(δ)=0.4059
Any thoughts?
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello,
The solution is to apply Optimization|Numeric or None on the region: δ←atan(tan(φ)/γ) This is a common advice to do first when you need just the numerical values.
BTW, the degrees does not work properly in v0.92
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
omorr wrote:BTW, the degrees does not work properly in v0.92 It doesn't wort in one case only - when you try to evaluate it numerically in a single line like: P.S.: Will try to release new SMath Studio version as soon as possible. Regards.
|
1 user thanked Andrey Ivashov for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 23/02/2012(UTC) Posts: 2 Location: UK
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
Hello, Also in v.093 remains the problem reported by Scottg. The solution indicated by Radovan, it works properly.
Regards, Sergio
|
1 user thanked PompelmoTell for this useful post.
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
Fixed in SMath Studio 0.94. Regards.
|
2 users thanked Andrey Ivashov for this useful post.
|
on 30/05/2012(UTC), on 30/05/2012(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.