Skip to content

Instantly share code, notes, and snippets.

View songyang-dev's full-sized avatar

Song Yang songyang-dev

View GitHub Profile
@songyang-dev
songyang-dev / Acceleration.java
Last active April 17, 2023 17:15
Dealing with units and constants in physics
class Acceleration {
public double metersPerSecondSquared;
public double kilometersPerSecondSquared;
public double newtonsPerKilogram;
public Acceleration(double metersPerSecondSquared) {
this.metersPerSecondSquared = metersPerSecondSquared;