<< Chapter < Page Chapter >> Page >

Tactile graphics

The velocity values shown in Figure 6 are plotted in the image that is contained in the file named Phy1080b1.svg, along with theheight values and the acceleration values.

Analysis of the results

The difference between Figure 4 and Figure 6 is the addition of a column of velocity information on the right in Figure 6 . As you can see, the velocity begins with a positive value of 100 feet/second at the top of thevelocity column.

The velocity goes to zero somewhere between 3 and 3.25 seconds, which is the point where the height of the arrow reaches its maximum.

At 3.25 seconds, the velocity switches from positive to negative meaning that the arrow begins falling back toward the earth. The velocity reaches-100 feet/second somewhere between 6.25 and 6.5 seconds, which is about the same time that the arrow hits the ground.

Plot the velocity curve

I believe you might find it useful to plot the velocity curve on the graph board without removing the height curve if you can. That will give you a goodopportunity to use your hands to "see" the big picture insofar as the relationship between the height (displacement) and the velocity are concerned.

When you do that, hopefully you will recognize that the velocity curve for this particular situation is a straight line with a negative slope. Thatstraight line crosses the horizontal axis going from positive territory into negative territory about half way between the original release of the arrow andthe point where the arrow strikes the ground.

Analysis of the code

A comparison of Listing 2 with Listing 1 shows the addition of the following variables:

  • var oldT = 0; //previous time in seconds
  • var delT = 0; //change in time in seconds
  • var oldH = h0; //previous height in feet
  • var delH = 0; //change in height in feet

Save values for use in next iteration

As you will see when I get into an explanation of the while loop, the variables oldT and oldH are used to save the time value and the height value during each iterationto make those values available during the next iteration.

Compute changes in time and height

Inside the while loop, the current value of t and the value stored in oldT are used to compute the change in time since the previous iteration. The current value of h and the value stored in oldH are used to compute the change in height since the previous iteration. These change values are saved in the variables named delT and delH .

Velocity is the ratio of the changes

In this case, the value in delH represents the displacement of the arrow during the time interval and the value stored in delT represents the length of the time interval. As you already know, the velocity isthe ratio of those two values. The value for velocity is computed along with the time and the height and then the script executes the next iteration of the while loop.

The while loop

The while loop in Listing 2 begins the same as in Listing 1 . After the new height value is computed, the script performs the computationsdescribed above to estimate and display the velocity for the time interval since the previous iteration.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Accessible physics concepts for blind students. OpenStax CNX. Oct 02, 2015 Download for free at https://legacy.cnx.org/content/col11294/1.36
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Accessible physics concepts for blind students' conversation and receive update notifications?

Ask