Skip to content

Conversation

@Priyanshu1303d
Copy link
Contributor

Hello! This PR adds a new physics algorithm, Kinematics.java , to the physics module.

This utility class provides the fundamental "SUVAT" equations for calculating the motion of an object under constant acceleration.


  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file src/main/java/com/thealgorithms/physics/Kinematics.java

I have run the full mvn test suite locally, and all tests (including the new KinematicsTest.java) pass with a BUILD SUCCESS.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.34%. Comparing base (5a68ba9) to head (51055bc).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7053   +/-   ##
=========================================
  Coverage     78.33%   78.34%           
- Complexity     6661     6665    +4     
=========================================
  Files           752      753    +1     
  Lines         22180    22185    +5     
  Branches       4357     4357           
=========================================
+ Hits          17375    17380    +5     
  Misses         4106     4106           
  Partials        699      699           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DenizAltunkapan DenizAltunkapan merged commit 4951fb9 into TheAlgorithms:master Nov 6, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants