1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Non-linear regression of Curie's Law

  1. May 18, 2006 #1
    Hi,

    I've collected some data on the relative permeability of ferrite at various temperatures, subject to a constant external magnetic field and I'd like to fit a curve to the data.

    I believe that stat-mech theory predicts that [itex]\mu_r = 1 + a\tanh(b/T)[/itex] where [itex]T[/itex] is thermodynamic temperature. The constant [itex]a[/itex] is clearly [itex]\max \mu_r -1[/itex], but I can't figure out what condition I should use to estimate [itex]b[/itex]?

    Any help would be greatly appreciated.

    James
     
  2. jcsd
  3. May 18, 2006 #2

    LeonhardEuler

    User Avatar
    Gold Member

    I'm no statician, but I've come across this type of problem before. I'll tell you how I dealt with it and you can decide if its reasonable (which I think it is).

    You want to choose b in a way that minimizes the "error". If you have N measurements of mu as [itex]\mu_1, \mu_2, ... \mu_n[/itex]at temperatures [itex]T_1, T_2, ... T_N[/itex] then you can define an error by:
    [tex]E=\sum_{i=1}^{N}(\mu_i-\mu(T_i,b))^2[/tex]
    Where:
    [tex]\mu(T,b)=1 + a\tanh(b/T)[/tex]
    You want to find the value of b that minimizes the error so you come out with:
    [tex]\frac{\partial E}{\partial b}=0=2\sum_{i=1}^{N}(\mu_i-(1 + a\tanh(b/T_i)))(\frac{a}{T_i}sech^2{\frac{b}{T_i}})[/tex]
    Now this equation should not be too difficult to solve numerically as long as the number of measurements is not gigantic. You could use goal seek in excel. One thing to whatch out for, though: hopefully the solution is unique. If it is not you have to find the minimum amoung all the solutions. Excel will not tell you if there are other solutions. Maybe you can show mathematically the solution is unique, I haven't thought too much about that.

    Also, be warned: I didn't read about this in a book, I just had a similar problem and this method made sense to me. Use it at your own discretion.
     
    Last edited: May 18, 2006
  4. May 19, 2006 #3
    I think this is a good idea, numerical solutions to such things can be found easily using Mathematica.

    Thanks

    James
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Non-linear regression of Curie's Law
  1. Non-linear dynamics (Replies: 5)

  2. Linear regression (Replies: 1)

Loading...