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

Units in Mathcad

Units in Mathcad

Units in Mathcad

Hello all...

I am familiar with gear calculations...but not with Mathcad.

I have a gear PCD and I want divide it by the module to get the number of teeth on the gear.

The PCD is in mm and so Mathcad quite rightly assumes the resultant figure from PCD/2 would be in mm.

I want it to have no units because it would just be an integer.

How can I stop Mathcad assigning units?

Mathcad 14



RE: Units in Mathcad

The module should be in mm too.

RE: Units in Mathcad

Thanks for the reply...

yes it should be in mm, but adding mm to the module makes it worse.

What was 63mm is now 6x10^4m^-1 mm...I just want it to show 63 teeth.

RE: Units in Mathcad

It sounds like Mathcad is interpreting mm not as millimeters but as something else unrelated to length.  Have you redefined mm somewhere?  Maybe by mm;=1?

Attach the worksheet (Version 11) so we can look at it.

RE: Units in Mathcad

This is ,obviously, not a version 11 file - that would be *.mcd and if you define Mod as mm and PCD as mm then PCD/Mod would be unitless. Isn't that what you wanted?

RE: Units in Mathcad


Looked at your file - same comment as IRStuff: There is no need for you to add units to this answer.

To fix:  Delete "mm" from behind the answer and Mathcad will give you a unitless answer, which is correct for this formula.


RE: Units in Mathcad

It was as simple as that then...

I promised I tried to do that before I bothered you all with such a trivial issue.

Occupant...it is V14 file saved as a V11 file.

Thanks again for your help.



RE: Units in Mathcad

Looks like you've got your answer.  

Just as a general statement, don't EVER use a variable name like "M" or "m" or "L" etc.  I keep seeing people do L:45*mm and then want a volume in liters and don't understand the answer.  So in your example, use M.gear:2mm or something like that.  When you put the period after the variable you are adding a text label (not a subscript) that ensures that it is not a system variable.


RE: Units in Mathcad

OK...thanks for the tip.

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