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

1-Newbie

## "These units are not compatible"

Hello!

I'm trying to calculate a simple formula but I have some problems with the units. I'm getting the following message: These units are not compatible. Everything is in mm, and I'm using Mathcad Prime 3.0 express. What is the problem?

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby III
(To:ptc-4868655)

Use please not floor but Floor!

10 REPLIES 10
24-Ruby III
(To:ptc-4868655)

Use please not floor but Floor!

Thank you!

1-Newbie
(To:ptc-4868655)

That worked? Wow, I'm a bit surprised. Doesn't Floor (with capital F) require two arguments. Also, I didn't think floor or Floor would work with units.

1-Newbie
(To:RogerYeh)

For the second argument you have to enter 1mm

24-Ruby III
(To:RogerYeh)
 Roger Yeh wrote:Also, I didn't think floor or Floor would work with units.

A floor has units - m^2 in Europe and ft^2 in U.S.

24-Ruby V
(To:RogerYeh)

It would be a good idea to consolidate the functions into one - the second parameter would default to the 1*unit of the first one.

24-Ruby III
(To:Werner_E)
 Werner Exinger wrote:It would be a good idea to consolidate the functions into one - the second parameter would default to the 1*unit of the first one.

... into one - floor or Floor, round and Round, ceil or Ceil etc?

It would be too a good idea to do an order in functions name.

Now we can use find and Find, minimize and Minimize etc. Bit we can use Sin only sin etc

24-Ruby V
(To:ValeryOchkov)
 Valery Ochkov wrote:Werner Exinger wrote:It would be a good idea to consolidate the functions into one - the second parameter would default to the 1*unit of the first one.... into one - floor or Floor?

Both, for compatibility reasons. One being an alias of the other. With the default, I suggested, backward compatibility (to find()) would be guaranteed.

I cannot plot this simple plot in 3D. could you please suggest whats wrong with mathcad or with my plotting.

24-Ruby V
(To:suraj)

Prime's plotting capabilities are far away from being anything near state of the art and especially the 3D-plots of Prime are catastrophic and almost useless.

Prime's quickplot feature (you never tell Prime the range for x and y) will only use dimensionless x- and y-values, bt your functions needs length-arguments.

You could provide length arguments by defining appropriate ranges (with units) for x and y, but Prime won't allow units at the x- and y-axis. Only the z-values are allowed to have units.

Workaround could be to define a new auxiliary function

Z_plot(x,y):=Z(x*mm, y* mm)

and plot this function - this should work. Apply the units which make sense for your application.

Announcements