Solving Mathematica Problem with FindRoot Function

  • Thread starter Thread starter Petar Mali
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary
SUMMARY

The discussion focuses on resolving issues with the FindRoot function in Mathematica. Users encountered difficulties obtaining numerical values due to the integrand's behavior at the limits of 0 and π. It is advised to adjust the integration limits slightly beyond these values and to separate the function used in NIntegrate from the FindRoot function. The problem is identified as stemming from a T2 value around 11,000, which is critical for achieving accurate results.

PREREQUISITES
  • Familiarity with Mathematica programming language
  • Understanding of numerical methods, specifically root-finding algorithms
  • Knowledge of integration techniques in Mathematica, particularly NIntegrate
  • Basic concepts of function behavior near limits in calculus
NEXT STEPS
  • Explore the Mathematica documentation on the FindRoot function
  • Learn about adjusting integration limits in NIntegrate
  • Investigate how to define separate functions for complex calculations in Mathematica
  • Study the implications of large parameter values, such as T2, on numerical methods
USEFUL FOR

This discussion is beneficial for Mathematica users, students tackling numerical analysis problems, and anyone seeking to improve their skills in root-finding and integration techniques within Mathematica.

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

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
3
Views
9K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K