8.3 Design From Figure 3 the design comprises a two class, Verticalmotion and VertMotionApp . 8.3.1 VerticalMotion Class 1. VerticalMotion constructor to create an instance of the class VerticalMotion given a start velocity. VerticalMotion Identifier Type Usage newStartVelocity double Formal parameter startVelocity double Instance attribute 2. The items given in the data table to the right will be used.
Calculation is done using the given identity.
Nassi-Shneiderman charts for the above methods are presented in Figure 4. VertMotionApp Class 1. The main method. Allow user to input a start velocity, create an instance of the type VerticalMotion and then call the calcAndOutputHeightAndTime method described below. VerticalMotion Local instance keyboardInput BufferedReader Class instance 2.