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 Tatty-Drew  
#1 Posted : 23 November 2011 19:16:12(UTC)
Tatty-Drew

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.sm

I 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?

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

Offline TheWizEd  
#2 Posted : 23 November 2011 21:48:16(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)
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
Users browsing this topic
Guest
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.