cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

1-Newbie

## Mathcad 15- How can I get custom units to work?

I am new to mathcad. As I understand the instructions, custom units should work with in a worksheet. The following entries do not work.

I will appreciate any help I can get.

Ron Marshall

1 ACCEPTED SOLUTION

Accepted Solutions
19-Tanzanite
(To:rmarshall)

You have two typographical problems. First, immediately in front of the 10 is a space. I don't know how you got that, but it means Mathcad thinks <space>10 is a variable. The second one is really bizarre. I can't even figure out how to create it. Select the kg with the insertion point to the right. then delete the kg by backspacing, and finally delete the multiplication operator. You will see that the entire expression is surrounded by parentheses: (amu:=1.66053886*10^27). So somehow it's grouped the LHS and the RHS. I don't know how to do that even if I wanted to . It must be the result of some sequence of edits you did, probably involving the "1" that was originally on the LHS.

The solution is just to delete the entire expression and retype it.

11 REPLIES 11
5-Regular Member
(To:rmarshall)

Try this.

Mike

19-Tanzanite
(To:rmarshall)

As Mike syas, get rid of the 1 on the LHS of the assignment. That is not allowed.

1-Newbie
(To:RichardJ)

Thanks for the suggestions. I have tried several variations. I retried removing the 1, but Mathcad will not recognize amu as a unit so far.

5-Regular Member
(To:rmarshall)

It will, look at my example posted above. That was created in M15.

Mike

19-Tanzanite
(To:rmarshall)

Please post a worksheet (to do this, click on "advanced editor" at the top right of the edit dialogue) showing the problem. We need that to figure out where your problem lies.

1-Newbie
(To:RichardJ)

I have attached the worksheet as an xmcd file.

Ron Marshall

1-Newbie
(To:rmarshall)

You typed something incorrectly when you entered (or modified) the RHS for amu, just re-type the definition.

19-Tanzanite
(To:rmarshall)

You have two typographical problems. First, immediately in front of the 10 is a space. I don't know how you got that, but it means Mathcad thinks <space>10 is a variable. The second one is really bizarre. I can't even figure out how to create it. Select the kg with the insertion point to the right. then delete the kg by backspacing, and finally delete the multiplication operator. You will see that the entire expression is surrounded by parentheses: (amu:=1.66053886*10^27). So somehow it's grouped the LHS and the RHS. I don't know how to do that even if I wanted to . It must be the result of some sequence of edits you did, probably involving the "1" that was originally on the LHS.

The solution is just to delete the entire expression and retype it.

1-Newbie
(To:RichardJ)

I have been copying and pasting numbers. I have noticed when I type in a whole line things seem to work the first time, what looks like straight foward editing seems to lead to problems. Your solution worked. Thanks to both of you.

Ron Marshall

19-Tanzanite
(To:rmarshall)

When you select something be careful what you are selecting. Watch that blue line

24-Ruby II
(To:rmarshall)

The amu is a built-in unit (constant) in Mathcad Prime:

Announcements
Check out the latest