Skip to main content
May 7, 2010
Question

Floating point evaluation and Units question

  • May 7, 2010
  • 3 replies
  • 3471 views
I define x and y with units of feet. I let T equal to: x times y with float command at the end of it to control number of decimal points in my answer.

My question is, when I use the float command, it doesn't allow me to convert units of my answer by clicking on it and retyping the units I need. The answer always stays the same and units go back the units of ft.

Is there a way to use a symbolic floating point command and have the ability to change units?

3 replies

1-Visitor
May 7, 2010
"The answer always stays the same and units go back the units of ft."
____________________________

I didn't touch your unit system and it returns both systems; the original one [like undefined] and it returns in the base default system of the work sheet ... you had SI. Even if the Unit System in Mathcad is like weeds in the garden and sometimes snake in the sofa, this time it work well.



jmG
1-Visitor
May 7, 2010
>>Is there a way to use a symbolic floating point command and have the ability to change units?<<

No. The symbolic processor knows nothing about units, to it ft is just another undefined variable, to be handled symbolically.

If you want numeric answers (and changing units makes no sense otherwise) don't use the symbolic processor, use numeric evaluation. That will also result in calculations being done with about 16 digits of precision independently of how many places you choose to show in the results.
__________________
� � � � Tom Gutman
24-Ruby IV
May 8, 2010
>The symbolic processor knows nothing about units.
But we can say to symbolic processor what it is units:

Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm
24-Ruby IV
May 8, 2010
>I define x and y with units of feet.
Sorry.
More correct say:
I define x and y with dimension of length.
Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm
1-Visitor
May 9, 2010
On 5/8/2010 2:25:47 AM, VFO wrote:
>>I define x and y with units of feet.
>Sorry.
>More correct say:
>I define x and y with
>dimension of length.
>Val
_______________________

As you say Val, many users don't catch much about unit system and using it.
A lost case in a lost world !



jmG