<< Chapter < Page Chapter >> Page >
  1. The y value oscillates above and below the horizontal or zero axis much like an ordinary sinusoid.
  2. The magnitude of the oscillations builds up with time reaching a maximum near the center of the graph when the sound emitted by each speaker is aboutequal. After that, the magnitude of the oscillations decreases with time.
  3. You can hear the zero crossings because a special sound is emitted whenever the function evaluates to zero.
  4. If you were to slow the output down to about three pulses per second, you could count the pulses and determine the exact values for x at which thezero crossings occur. (You could probably use this approach to find the roots of Cubic02 and Quadratic01 .)
  5. You would learn that the zero crossings occur every eight pulses most of the time for this sinc function.
  6. You would learn that there is no zero crossing at an x value of zero. Instead, the maximum value for y occurs for an x value of zero. There aresixteen pulses between zero crossings at the center of the graph.
  7. Insofar as zero crossing is concerned, you would learn that the function is symmetric about an x value of zero.
  8. If you have a good ear for memorizing a melody, you would learn that the function is symmetric about zero. The values for y on thepositive side of zero are a mirror image of the values for y on the negative side of zero.

Contents of the output file named Sinc01.txt

Listing 6 shows the output data values for this sinc function. (Note that the actual output from the program is a single long string. I manually inserted linebreaks every eight values to force the material to fit in this narrow presentation format. That also matches up with the zero crossings mentionedabove.)

If you examine this data, you will see that it supports the conclusions that were reached above based solely on the audio. For example, the first value on every line exceptthe eleventh line is either 0.0 or -0.0. On that line, the first value is 1.571, which is the largest value in the entire set of values. That value occurs at the center ofthe set of values and matches the peak frequency in the audio.

The values on both sides of that value are 1.531. This suggests that the symmetry conclusion reached above is probably correct. Further comparison of the corresponding values will confirm the symmetry andmirror image conclusion reached above .

Listing 6 . Contents of the output file named Sinc01.txt.
-0.0,-0.019,-0.036,-0.048,-0.053,-0.049,-0.038,-0.021, 0.0,0.022,0.04,0.054,0.059,0.055,0.043,0.024,-0.0,-0.024,-0.046,-0.061,-0.067,-0.063,-0.049,-0.027, 0.0,0.028,0.052,0.07,0.077,0.072,0.057,0.031,-0.0,-0.033,-0.061,-0.082,-0.091,-0.086,-0.067,-0.037, 0.0,0.039,0.074,0.1,0.111,0.106,0.083,0.046,-0.0,-0.049,-0.094,-0.127,-0.143,-0.137,-0.109,-0.061, 0.0,0.067,0.129,0.176,0.2,0.195,0.157,0.09,-0.0,-0.102,-0.202,-0.284,-0.333,-0.336,-0.283,-0.17, 0.0,0.219,0.471,0.739,1.0,1.232,1.414,1.531,1.571,1.531,1.414,1.232,1.0,0.739,0.471,0.219, 0.0,-0.17,-0.283,-0.336,-0.333,-0.284,-0.202,-0.102,-0.0,0.09,0.157,0.195,0.2,0.176,0.129,0.067, 0.0,-0.061,-0.109,-0.137,-0.143,-0.127,-0.094,-0.049,-0.0,0.046,0.083,0.106,0.111,0.1,0.074,0.039, 0.0,-0.037,-0.067,-0.086,-0.091,-0.082,-0.061,-0.033,-0.0,0.031,0.057,0.072,0.077,0.07,0.052,0.028, 0.0,-0.027,-0.049,-0.063,-0.067,-0.061,-0.046,-0.024,-0.0,0.024,0.043,0.055,0.059,0.054,0.04,0.022, 0.0,-0.021,-0.038,-0.049,-0.053,-0.048,-0.036,-0.019,-0.0,

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Accessible objected-oriented programming concepts for blind students using java. OpenStax CNX. Sep 01, 2014 Download for free at https://legacy.cnx.org/content/col11349/1.17
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Accessible objected-oriented programming concepts for blind students using java' conversation and receive update notifications?

Ask