Least-Squares fitting of King's Equation

  • Thread starter Thread starter BowlingSuperior
  • Start date Start date
  • Tags Tags
    Fitting
AI Thread Summary
The discussion focuses on applying least-squares fitting to King's Equation, which relates the current in a heated wire to mass airflow. The equation is non-linear due to the flow raised to the "c" coefficient, prompting consideration of linearization or non-linear methods like Levenberg-Marquardt for solution. The choice of method depends on the number of data points available; linearization may suffice for three points, while non-linear least squares is preferred for larger datasets. Participants also share insights on software tools used for creating tutorial materials. The conversation emphasizes the importance of selecting the appropriate fitting method based on data characteristics.
BowlingSuperior
Messages
2
Reaction score
0

Homework Statement


A hot wire is placed in a region of mass air flow. There is a current on the wire causing it (wire) to heat up. The current is regulated such that the wire temperature is constant.

Measurement of current on the wire is related to the mass airflow by King's Equation.

The goal is to perform a least-squares solution of measured data in order to determine coefficients of Kings equation.


Homework Equations



King's Equation: output = a + b * flow ^c

with a, b, and c coefficients to be determined.


The Attempt at a Solution



Solve equation using linear least-squares. Problem is the flow raised to the "c" coefficient. Linearization of the equation *may* be the answer? Otherwise using something like Levenberg-Marquardt's non-linear method?
 
Physics news on Phys.org
Yep, it's a non-linear problem. Solution method depends on how many data points you have. If it is 3, then you could solve using linearization (Newton Raphson perhaps, see link in my footer). But if you have a least squares situation (i.e n > 3), then non-linear least squares using Levenberg-Marquardt would be perfectly applicable (also see link in my footer).:smile:
 
hotvette said:
Yep, it's a non-linear problem. Solution method depends on how many data points you have. If it is 3, then you could solve using linearization (Newton Raphson perhaps, see link in my footer). But if you have a least squares situation (i.e n > 3), then non-linear least squares using Levenberg-Marquardt would be perfectly applicable (also see link in my footer).:smile:

Thanks for the feedback and confirmation!

BTW - what software package did you use to generate the 2-page tutorials? They look excellent!

- Bruce
 
BowlingSuperior said:
what software package did you use to generate the 2-page tutorials? They look excellent!

- Bruce

Thanks! I used Excel, Powerpoint, and a bit-map capture utility.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top