Skip to main content
1-Visitor
January 23, 2018
Question

Curve fitting units

  • January 23, 2018
  • 25 replies
  • 10608 views

Hello,

What is the best way to handle units in a curve fitting equation situation.

On line 4 if I leave the ksi in then line 6 does not work, I had to create a unitless line 5 to get line 6 to work. Also I had to text in the word "cycles"  because MC does not take cycles unit in lines 6 & 8. 

 mc.png

25 replies

25-Diamond I
January 23, 2018

1) To be able to calculate "sigma -23" obviously both must be of same dimension. Itz can't work if sigma has unit ksi and 23 is unitless

 

2) The arguments of functions like exp, log, sin, etc. must be unitless. Thats not a limitation of Mathcad, though 😉

 

3) If this is an old empiric formula, you may assign unit ksi to sigma and then use log(sigma/ksi-23) to make it work. No need to create a unitless variable manually.

 

4) Concerning cycles you may define your own "unit" (its not a unit anyway) for this. Assign cycles:=1 and label the word cycles as "unit".

24-Ruby IV
January 24, 2018

@Werner_E wrote:

 

 

4) Concerning cycles you may define your own "unit" (its not a unit anyway) for this. Assign cycles:=1 and label the word cycles as "unit".


cycles: = 1

Pi + cycles=4.142 ???

 

Better use cycles: = mole

25-Diamond I
January 24, 2018

wrote:

Pi + cycles=4.142 ???


Garbage in - garbage out 😉

 


Better use cycles: = mole

Is it really better?

Bild.png