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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Density units change during calculation

daleshell
3-Visitor

Density units change during calculation

I have an issue with the dimensions of density, variable roe, changing after I define it.

I defined roe := 2.62x10^-12xkg/m^3. 

When I used in a calculation I did not get the result I was expecting, especially with the wrong units.

So, I displayed the value of roe right below my definition and the units changed;

I got: roe = (2.62x10^-21)x1/kg^2

Where did this come from?

 

I ended up defining roe in terms of slugs/ft^3 and the equations were correct then on.

I entered: roe := (5.084x10^-15)xslug/ft^3

When I then displayed the value of roe in English units I got: roe = (2.62x10^-12)xkg/m^3

just like it should be.  The following equations are solved correctly.

Question: what gives?  I attached the actual Mathcad file.

1 ACCEPTED SOLUTION

Accepted Solutions

m - mass and meter - black and blue. Blacks and Whites, pardon, Blues live matter!

 

Unit-m.png

View solution in original post

5 REPLIES 5

m - mass and meter - black and blue. Blacks and Whites, pardon, Blues live matter!

 

Unit-m.png

Thanks, I can't believe I missed that.

You welcome!

I hope the Study 9. Celestial Mechanics Or Kepler's watch  can help you.

2^5 Problems for STEM Education 

You can free download Mathcad-sheets from this site.

What happened? Did you use the operator m:=1 kg again? Nothing wrong! You will leave our mental hospital in two months completely healthy!

durka.png

2 months? Promises, promises promises.

Top Tags