Extracting parameter value from NIntegrate result in Mathematica

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
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: 515
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}]