From 2a3762bbb92ee4925128e2c926e04439e32d43fd Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 29 Oct 2026 16:01:25 -0400 Subject: [PATCH] Added surface area calculation for pyramid --- src/main/java/com/thealgorithms/maths/Area.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/thealgorithms/maths/Area.java b/src/main/java/com/thealgorithms/maths/Area.java index 84fc67159379..7ceb504e847a 100644 --- a/src/main/java/com/thealgorithms/maths/Area.java +++ b/src/main/java/com/thealgorithms/maths/Area.java @@ -233,3 +233,5 @@ public static double surfaceAreaCone(final double radius, final double height) { return Math.PI * radius * (radius + Math.pow(height * height + radius * radius, 0.5)); } } +git diff --stat +