I'm trying to do this complicated integral:
And my code is as follows:
f[k_] :=
k^3 (ln[1 + 2.34 k]/(2.34 k))^2 (1 +
3.89 k + (16.1 k)^2 + (5.46 k)^3 + (6.71 k)^4)^-0.5 (3 Sin[k*R]/(k*R)^3 - 3 Cos[k*R]/(k*R)^2)^2
NIntegrate[f[k], {k, 0, Infinity}, Assumptions -> {R > 0}]
But I can't get an answer and what I would like to do in the end is to draw a figure about F(R).
Could you please help me with that? Thanks in advance!


Sinnotsin,Cosnotcos, etc. (2) Decimal points in numbers represent approximate floating point numbers. It's best to use exact numbers (e.g. rational fractions) in exact solvers likeIntegrate. (Round-off error sometimes messes up exact computations.) (3) Some integrals are too hard for Mathematica or any other system to solve symbolically. Would a numerical approach work for you? It might be an easier to plot a graph. – Michael E2 Jul 14 '23 at 17:49{}button above the edit window. The edit window help button?is useful for learning how to format your questions and answers. You may also find the meta Q&A, How to copy code from Mathematica so it looks good on this site, helpful – Michael E2 Jul 14 '23 at 17:51