ClearAll["Global`"]; data = Import[ "C:\\Users\\yizhi\\Desktop\\Mathematica脚本\\New…
- User
ClearAll["Global`"]; data = Import[ "C:\Users\yizhi\Desktop\Mathematica脚本\New module\Final data\\ alpha-H3\he4-h3.csv"]; data = SortBy[data, #[[2]] &]; fc = {{0.477, Around[3.9010^-1, 0.1010^-1]}, {0.726, Around[2.6110^-1, 0.1010^-1]}, {1.012, Around[1.5410^-1, 0.0510^-1]}, {1.325, Around[8.9210^-2, 0.3810^-2]}, {1.656, Around[5.2610^-2, 0.2510^-2]}, {1.994, Around[3.1710^-2, 0.1710^-2]}, {2.649, Around[1.2310^-2, 0.1010^-2]}, {1.237, Around[1.0010^-1, 0.0310^-1]}, {1.552, Around[6.1810^-2, 0.2510^-2]}, {1.896, Around[3.2410^-2, 0.1710^-2]}, {2.365, Around[1.7910^-2, 0.1210^-2]}, {2.873, Around[9.5610^-3, 0.6910^-3]}, {3.988, Around[1.8810^-3, 0.2510^-3]}, {5.198, Around[5.410^-4, 1.010^-4]}, {1.929, Around[3.5510^-2, 0.1710^-2]}, {2.417, Around[1.5510^-2, 0.1010^-2]}, {2.952, Around[6.9610^-3, 0.6710^-3]}, {3.235, Around[5.0710^-3, 0.5210^-3]}, {3.604, Around[3.5310^-3, 0.4110^-3]}, {4.465, Around[1.1510^-3, 0.1810^-3]}, {5.476, Around[2.3910^-4, 0.7610^-4]}, {6.915, Around[7.210^-5, 3.710^-5]}, {2.771, Around[1.0010^-2, 0.0810^-2]}, {3.471, Around[4.0810^-3, 0.4310^-3]}, {4.236, Around[1.6210^-3, 0.2010^-3]}, {4.849, Around[8.110^-4, 1.210^-4]}, {5.167, Around[5.6010^-4, 0.8810^-4]}, {6.396, Around[1.9510^-4, 0.4310^-4]}, {6.865, Around[1.0810^-4, 0.2810^-4]}};; fc = SortBy[fc, #[[1]] &]; [Chi]0 = Interpolation[data, InterpolationOrder -> 1][r]; ahe4 = Sqrt[2/31.68^2]; ahe3 = Sqrt[2/31.97^2]; fhe4[q_] := Exp[-q^2ahe4^2/4] fhe3[q_] := Exp[-q^2ahe3^2/4] j0[x_] := Sin[x]/x f = [Chi]0^2(fhe3[q]j0[4/7qr] + fhe4[q]j0[3/7qr]) /. q -> Sqrt[q2]; list = ParallelTable[{q2, NIntegrate[f, {r, 0.1, 10}]^2}, {q2, 0.001, 8}]; ListLogPlot[{fc, list}, Frame -> True, Joined -> True, AspectRatio -> 4/3, PlotRange -> {10^-5, 1}] 这个计算Li7形状因子的程序正确吗?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.