Mathematica:Please help me to solve numerical integration

Click For Summary
SUMMARY

The discussion focuses on solving a numerical integration problem using Mathematica. The user seeks to determine the minimum value of an integral defined by the function f[t_] = 0.25*((-4037.89 + Exp[0.015*t]*(4044.44 - 66.6667*t))/Exp[0.015*t])^2, specifically using the NIntegrate function. The solution involves defining the integral as myint[(x_)?NumericQ] and employing the FindMinimum function to locate the minimum value of the integral within the specified range of x (0.5 to 1.5).

PREREQUISITES
  • Familiarity with Mathematica programming language
  • Understanding of numerical integration techniques
  • Knowledge of the NIntegrate function in Mathematica
  • Experience with optimization functions such as FindMinimum
NEXT STEPS
  • Explore advanced features of NIntegrate in Mathematica
  • Learn about optimization techniques in Mathematica using FindMinimum
  • Investigate plotting functions in Mathematica for visualizing integrals
  • Study the implications of numerical methods in solving differential equations
USEFUL FOR

Mathematica users, mathematicians, and engineers involved in numerical analysis and optimization tasks.

shafieza_garl
Messages
20
Reaction score
0
i have problem regarding to the numerical method. my problem is from da attachment,if i replace x with value 1,it will get da answer by using NIntegrate.I want to know if i can get the value of t_minimum from the answer.thanks a lots.
 

Attachments

  • numerical1.jpg
    numerical1.jpg
    4.2 KB · Views: 508
Physics news on Phys.org
You mean the minimum of the integral value in terms of x? If so, then how about:

Code:
f[t_] := 0.25*
   ((-4037.89 + Exp[0.015*t]*(4044.44 - 
        66.6667*t))/Exp[0.015*t])^2
myint[(x_)?NumericQ] := NIntegrate[f[t], 
   {t, 0, x}]
Plot[myint[x], {x, 0, 2}]
FindMinimum[{Evaluate[myint[x]], 
   0.5 <= x <= 1.5}, {x, 1}]
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
Replies
3
Views
3K
Replies
27
Views
4K
  • · Replies 58 ·
2
Replies
58
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
1
Views
2K
Replies
5
Views
4K