Rank: Newbie
Groups: Registered
Joined: 23/11/2011(UTC) Posts: 1 Location: UK
|
I was in the process of looking at some lifting structures and have managed to produce a very strange error. I have derived an angle which I then use in a later Sin function. If I simply give an answer the result it correct but if I define a symbol to the function and check the value of the symbol the answer is hugely incorrect. File can be found here: http://files.engineering...file=Sin_Error_-_Copy.smI have reproduced the error again at the bottom of the page with different values. Wondered whether anyone can reproduce this error or offer any insight?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 04/07/2010(UTC) Posts: 178 Was thanked: 19 time(s) in 13 post(s)
|
Try this. Change Optimization to Numeric.
First Select all SMath items.
From Calculation Menu -> Optimization -> Numeric.
I'm a civil engineer and perform a lot of structural calculations using SMath. Calculations with units helps to avoid errors, kips vs. lbs, inch vs. feet, etc. I have often encountered similar strange results and 99% of the time Optimization->Numeric solves the problem. I've found its important to display the results of each calculation just to see if it makes sense. I notice you're doing the same thing. Good engineering habit.
I wish default Optimization was Numeric. Don't know what Symbolic is used for. |
Ed |
|
|
|
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.