1. Limited time only! Sign up for a free 30min personal 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!

Mathematica NonlinearModelFit

  1. Jan 11, 2012 #1

    cep

    User Avatar

    Hello, I'm working on this Mathematica assignment, just basic tutorial-type stuff (you can ignore the details about pyrene, not important), and the fit on this function won't converge. Someone in my class said it converged fine, so I was wondering if anyone notices any errors in my work. Alternatively, can you think of any alternative ways to express the function?

    Thanks!

    1. The problem statement, all variables and given/known data


    3. Formation and Decay of Pyrene Excimer in Solution

    The traces for pyrene fluorescence (see Experiment 3) show a fast rise and a slower fall processes which correspond to a complex kinetic of the formation and decay of the pyrene excimer in solution. The evolution of the excimer fluorescence intensity I(t) in time t can be described by the following equation:

    I(t) = -Ae-kat+Be-kbt

    Data are provided in a file “emission_data” with time given in the first column, while the fluorescence intensity given in the second column.

    REPORT:
    (1) Find coefficients A, B, ka and kb. Estimate standard error and confidence levels for these parameters. Hint: see Mathematica help menu for function NonlinearModelFit.
    (2) Provide plot of data with the superimposed fit function


    2. Relevant equations

    Mathematica knowledge

    3. The attempt at a solution

    See attached screenshot.

    I can get 3/4 coefficients, but I don't know if they're correct due to the fourth one failing to converge, and I can't make the plot without all coefficients!
    1. The problem statement, all variables and given/known data



    2. Relevant equations



    3. The attempt at a solution
     

    Attached Files:

  2. jcsd
  3. Jan 11, 2012 #2

    hotvette

    User Avatar
    Homework Helper

    Non-linear function fits can be very sensitive to the starting values of the function parameters. I'd think there would be an option to provide starting 'guesses'. If so, playing around with the starting values could fix the problem.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Mathematica NonlinearModelFit
  1. Mathematica Hw (Replies: 0)

  2. Mathematica plot (Replies: 0)

  3. Mathematica problem (Replies: 1)

  4. Learning Mathematica. (Replies: 7)

  5. Mathematica question (Replies: 2)

Loading...