Answers for "mathematica nested numerical integrate"

0

mathematica nested numerical integrate

i1[z_?NumericQ] := i1[z] = NIntegrate[-y, {y, 0, z}]
i2[x_?NumericQ] := i2[x] = NIntegrate[Exp[i1[z]], {z, -∞, x}]
NIntegrate[x i2[x], {x, -5., 5}]
(* 30.0795 *)
Posted by: Guest on March-04-2022

Browse Popular Code Answers by Language