Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

SMATH - How to deal with variables?

SMATH - How to deal with variables?

SMATH - How to deal with variables?

Hello! I am trying to learn SMATH since the standards used in our company uses SMATH. The problem I encountered with using this software is dealing with naming of the variables. My computations becomes untidy since my variables have long names and I don't know how to get around with them while being time-efficient.

Is there at least a way (or shortcut) to shift from text mode to "equation" mode without using a mouse? I'm planning to just use text mode to label my computations and use acronyms for my variables.

Or any suggestions regarding this?

ALSO, I can't seem to change Newton-ft to kips-ft even by manually clicking its units. Why is that?


Kips-ft automatically changing to N-ft even after manual correction:

RE: SMATH - How to deal with variables?

> Not sure what you're having issues with; every variable you define shows up in the dropdown, so of you type "bol" BoltShearASD shows up as the first item, and you can just tab to get it to transfer to the page

> As for N-ft, are you sure you're entering everything as a unit from the dropdown? Otherwise, you get a literal that looks like a unit, but isn't

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm

RE: SMATH - How to deal with variables?

Whenever I am creating a worksheet to represent typical design code formulae, I will name my variables exactly as they are seen in the reference document, so that the whole expression replicates what is shown in the code or text book. This makes for very easy checking of the results.

As for units of kip.ft - as this is not a pre-defined unit in Smath, you need to define both the desired force and the length units - i.e. in the units placeholder (which will have default units of joules), type:

'kip * 'ft

This tells Smath to display the result in multiples of "kip times feet".

Alternatively, you can define your own variable; e.g.

kipft := 1 'kip * 1 'ft

And then you can just type kipft in the units placeholder whenever you want to display a moment or torque in units of kip*ft.


RE: SMATH - How to deal with variables?


Whoa. The multiplication sign after kip changed the units to kip-ft. I thought I just have to click the blank "boxes" for the units to change them.


RE: SMATH - How to deal with variables?

Smath doesn't have any default pre-defined units of moment / torque. (It has units for Energy, which are dimensionally equivalent to Moment, but most of us don't measure bending moments in joules!)

Where the unit doesn't exist as a pre-defined unit, you need to define it. You can do this by either multiplying / dividing the various component units into the units placeholder; e.g.:

'kip * 'ft

which Smath will display as "kip ft" (in blue non-italicised text, to make it clear it is the unit expression).

Alternatively, you can define a dummy variable as a unit; e.g.:

kipft := 1 'kip * 1 'ft

You can then type the name of your dummy variable into the dimensions placeholder - this will display as "kipft" in black italicised text (like a normal variable name) - not quite as clear as the normal blue italic unit definition, but it is still unambiguous on the page.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close