Mathematica Mathematica:Please help me to solve numerical integration

AI Thread Summary
The discussion revolves around using numerical methods to find the minimum value of an integral. The user seeks to determine the minimum of an integral defined by a specific function when substituting a variable, x, with a value of 1. A suggested approach involves defining a function f[t] and using NIntegrate to compute the integral over a specified range. The conversation highlights the use of Plot to visualize the integral and FindMinimum to identify the minimum value of the integral within a defined range for x. The focus is on leveraging numerical integration and optimization techniques to derive the desired minimum value effectively.
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: 491
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
Views
2K
Replies
58
Views
7K
Replies
1
Views
2K
Replies
3
Views
3K
Replies
5
Views
3K
Replies
9
Views
3K
Replies
1
Views
2K
Back
Top