@@ -0,0 +1,540 @@
+package assign1;%0A%0Aclass GravityCalculator %7B%0A    public static void main(String%5B%5D arguments) %7B%0A        double gravity = -9.81;  // Earth's gravity in m/s%5E2%0A        double initialVelocity = 0.0;%0A        double fallingTime = 10.0;%0A        double initialPosition = 0.0;%0A        double finalPosition = 0.5*gravity*fallingTime*fallingTime + %0A                initialVelocity*fallingTime + initialPosition;%0A        System.out.println(%22The object's position after %22 + fallingTime +%0A                %22 seconds is %22 + finalPosition + %22 m.%22);%0A    %7D%0A%7D %0A%0A

Create assign1.java