User Portlet User Portlet

Discussions
Hi, Trytest = MeanDensity[Quantity[100, "Meters"]] Youngjoo Chung
Hi, All x in the integral needs to be transformed, so that thre is no x left: {(a E^-((-c + x)/b)^a)/b ((-c + x)/b)^(-1 + a) -> (a E^-t t^((-1 + a)/a))/b, \[DifferentialD]x -> (b t^(-1 + 1/a) \[DifferentialD]t)/a}This gives[mcode](a...
Hi, If there are no matching lists in LpeakidGRB, Select will return an empty list, {}. Then the rows to delete are of the pattern {_, {}}. The following will do the job. [mcode]LpeakandLprompttotalsample = Map[Flatten, DeleteCases[#, {_, {}}]...
[mcode]In[259]:= sol = Reduce[Abs[2 x - 1]
Hi, Unless n and h are given specific values like n = 1/2 and h = 2, Integrate will not evaluate the integral. About the result -0^(h + t) E^(-0^n ? - 0^m ?) (-1 + HeavisideTheta[0])^ means power. When x is real, 0^x is 0 for x>0, 1...
Hi, OK, there are a couple of issues here. (1) max needs to be calculated for each f. In your code, max was calculated for f = 2000 and was used for all cases of f.  (2) NMaximize may sometimes find only a local maximum. The following changes will...
Hi, There are two possible reasons: (1) there is mismatch in function argument patterns; (2) the function was not loaded. If all the arguments in the function definition have only Blank (_), then (1) is OK. As for (2), you need to load the function...
The pure function!MemberQ[B, #] &is applied to each element (#) of A. In the above example, it will be a, b, c, d.
Hi, This is related with the condition number, the max/min ratio of the singular values of the matrix (here). The singular values of N(mat) are...
Hi, The result returned by InverseLaplaceTransform is valid only for t>0. The function is assumed to be 0 for t