質問するログイン新規登録

質問編集履歴

1

指摘された点の修正

2021/12/13 08:43

投稿

Ackngawe.-
Ackngawe.-

スコア27

title CHANGED
File without changes
body CHANGED
@@ -18,7 +18,7 @@
18
18
  x[0] = x_0
19
19
 
20
20
  while i < N-1:
21
- print('i{},x{},t{}',format(i.x.t))
21
+ print('i{},x{},t{}'.format(i.x.t))
22
22
  k_1 = h * f(x[i],t[i])
23
23
  k_2 = h * f(x[i] + k_1 /2 , t[i] + h/2 )
24
24
  k_3 = h * f(x[i] + k_2 /2 , t[i] + h/2 )