Solving Mathematica Problem with FindRoot Function

  • Thread starter Thread starter Petar Mali
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Petar Mali
Messages
283
Reaction score
0

Homework Statement


I have a problem with program Mathematica and function FindRoot


Homework Equations


relevant equations are in the mathematica document in attachment of this post.


The Attempt at a Solution



I tried in the same document but I don't get numerical value? What I need to change. Thanks for your answer.
 

Attachments

Physics news on Phys.org
Didn't we have this conversation a month or so ago? One problem is that your integrand blows up at the limits of 0 and pi, so you need to stop the integration a little larger than 0 and a little smaller than pi. Also, FindRoot has trouble with a constant inside of NIntegrate like that. Try making a separate function like I did in the attached workbook. It looks like the root of your problem is a T2 value of about 11,000 - see attached.
 

Attachments