回答編集履歴
2
コード修正
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
f = lambda z: kv(5/3,z)
|
20
20
|
|
21
|
-
fs = [quad(f,x,np.inf) for x in xs]
|
21
|
+
fs = [quad(f,x,np.inf)[0]*x for x in xs]
|
22
22
|
|
23
23
|
|
24
24
|
|
@@ -38,4 +38,4 @@
|
|
38
38
|
|
39
39
|
```
|
40
40
|
|
41
|
-
![plot](
|
41
|
+
![plot](4fe765e8ee2686c084c459b66f03d289.png)
|
1
コード修正
test
CHANGED
@@ -20,8 +20,22 @@
|
|
20
20
|
|
21
21
|
fs = [quad(f,x,np.inf) for x in xs]
|
22
22
|
|
23
|
+
|
24
|
+
|
25
|
+
fig = plt.figure()
|
26
|
+
|
27
|
+
ax = fig.add_subplot(1,1,1)
|
28
|
+
|
23
|
-
|
29
|
+
ax.plot(xs,fs)
|
30
|
+
|
31
|
+
ax.set_title('test')
|
32
|
+
|
33
|
+
ax.set_xlabel('x')
|
34
|
+
|
35
|
+
ax.set_ylabel('F')
|
36
|
+
|
37
|
+
plt.show()
|
24
38
|
|
25
39
|
```
|
26
40
|
|
27
|
-
![plot](
|
41
|
+
![plot](a82716361d79724a346c502eaaf7ce1d.png)
|