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.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Thread 'Trying to understand the logic behind adding vectors with an angle between them'
My initial calculation was to subtract V1 from V2 to show that from the perspective of the second aircraft the first one is -300km/h. So i checked with ChatGPT and it said I cant just subtract them because I have an angle between them. So I dont understand the reasoning of it. Like why should a velocity be dependent on an angle? I was thinking about how it would look like if the planes where parallel to each other, and then how it look like if one is turning away and I dont see it. Since...
Back
Top