Skip to content

Commit 8678c63

Browse files
author
Priyanshu1303d
committed
[FEAT] Add Newton's Law of Gravitation algorithm
1 parent f0e6f87 commit 8678c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/physics/Gravitation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ public static double calculateCircularOrbitVelocity(double centralMass, double r
6363
}
6464
return Math.sqrt((GRAVITATIONAL_CONSTANT * centralMass) / radius);
6565
}
66-
}
66+
}

0 commit comments

Comments
 (0)