From b942db1070a647409b63318e507ba9bdefe8cb29 Mon Sep 17 00:00:00 2001 From: fdai7460 Date: Mon, 6 Feb 2023 08:51:22 +0100 Subject: [PATCH] Zahl Pi Rechner --- src/main/java/src/TasksFrame.java | 8 ++++---- src/test/java/src/TasksFrameTest.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/src/TasksFrame.java b/src/main/java/src/TasksFrame.java index eeff70c..400f4e8 100644 --- a/src/main/java/src/TasksFrame.java +++ b/src/main/java/src/TasksFrame.java @@ -79,7 +79,7 @@ public class TasksFrame extends JFrame { setup5ModList(1, 20); - setupLeibnizR(1000); + setupPI(100000); setupEulerschePhiFunk(); @@ -822,16 +822,16 @@ public class TasksFrame extends JFrame { return mods; } - public double setupLeibnizR(int t) { + public double setupPI(int t) { double sum=0; for(int i=0;i