From 9248b0d3021c9fc686bcc76fd86e547f8aa7ea73 Mon Sep 17 00:00:00 2001 From: lhye200 Date: Thu, 19 Jun 2025 01:43:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=87=BA=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E8=B0=83=E6=95=B4=E8=AF=AF=E5=B7=AE=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E7=9A=84=E6=98=BE=E7=A4=BA=E7=B2=BE=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 279-3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/279-3.py b/279-3.py index 4ddefb9..ac5cf5d 100644 --- a/279-3.py +++ b/279-3.py @@ -23,4 +23,4 @@ if __name__=="__main__": result = ClassicRK(x0, y0, h, xk, fxy) print("x\ty\t\treal_y\t\t\t误差") for x, y in result: - print(f"{x:.2f}\t{y:.10f}\t\t{real_fx(x):.10f}\t\t\t{abs(y - real_fx(x)):.5f}") \ No newline at end of file + print(f"{x:.2f}\t{y:.10f}\t\t{real_fx(x):.10f}\t\t\t{abs(y - real_fx(x))}") \ No newline at end of file