/**
*  1/19/05 (A. Gonzalez) Chapter No., Book No. and Title Added
*  6/20/05 Modified: (J. Lucca) Removed frames from quizzes.
*  7/7/05 Modified: (J. Lucca)
*     Can turn off HISTOGRAM and randomize_questions on any ch##.htm page
*     by setting them here to false. Both default to true in quiz.js.
*  12/1/05 Modified: (J. Lucca)
*     Can turn off histogram SECTIONS and/or TYPES on any ch##.htm page
*     by setting them here to false. Both default to true in quiz.js.
*/

//////////////////////////////////////////////////////////////////////////////
// HISTOGRAM AND RANDOMIZE OPTIONAL SETTINGS
//    Can turn off per quiz or leave defaults (as set in quiz.js) as true.
//      randomize_questions=true; HISTOGRAM=true; SECTIONS=true; TYPES=true;
//////////////////////////////////////////////////////////////////////////////
//HISTOGRAM = false
//SECTIONS = false
TYPES = false

/**
* Required settings for all Gradebooks:
*    chapter_no, book_no, book_title
*
* Required when HISTOGRAM = true:
*    At least a section_title[] with its matching q#section for each question
*    or a type_title[] with its matching q#type for each question.
*    Without at least one of these you won't get any histograms.
*/

// ////////////////////////////////////////////////////////////////////////////
// BEGIN PASTE - Paste any existing quiz javascript questions
//               between this comment and one just like it near bottom of page
// ////////////////////////////////////////////////////////////////////////////


// General settings
var chapter_no = "16"
var book_no = 97422
var book_title = "Physics for Engineers and Scientists 3rd Edition"
quiz_name = "Physics for Engineers and Scientists 3rd Edition, Chapter 16 Quiz"
var confirm="/college/physics/om/_content/_index/confirm.htm"
number_answers = new Array(4, 5, 5, 5);

var number_questions = number_answers.length;

// Sections
section_title = new Array()   //Leave at least this line! Can delete ones under.
section_title[1] = "16.1 Transverse and Longitudinal Wave Motion"
section_title[2] = "16.2 Periodic Waves"
section_title[3] = "16.3 The Superposition of Waves"
section_title[4] = "16.4 Standing Waves"

// Types
type_title = new Array();     //Leave at least this line! Can delete ones under.

q1 = "An ocean wave travels from the coast of Africa to Florida. Does this wave carry water from Africa to Florida? Does it carry energy?";
q1a = "Yes; yes";
q1b = "Yes; no";
q1c = "No; no";
q1d = "No; yes";
q1section = "1";
q1answer = "d";
q1type = "";
q1review = "The water wave does not carry the water from Africa to Florida; the particles merely oscillate about their equilibrium positions. The wave does carry energy from Africa to Florida; the motion of the arriving wave carries kinetic energy, and there is gravitational potential energy associated with the vertical displacements in water waves.";
q2 = "A wave on a string has a wavelength of 30 cm and a frequency of 40 Hz. What is the frequency of a wave of wavelength 60 cm on this same string?";
q2a = "20 Hz";
q2b = "40 Hz";
q2c = "60 Hz";
q2d = "80 Hz";
q2e = "120 Hz";
q2section = "2";
q2answer = "a";
q2type = "";
q2review = "Since it is the same string, the wave speed of the second wave must be the same as the first wave. Using Eq. 16.3 (see textbook), <i>v</i> = &lambda;<i>f</i>, we see that if the wavelength is twice as long, the frequency must be half as large, or equal to 20 Hz.";
q3 = "Two water waves of amplitudes 0.6 m and 0.8 m, respectively, arrive simultaneously at a buoy. What is the amplitude of the net wave if these two waves are in phase? If these two waves are out of phase?";
q3a = "0.2 m; 1.4 m";
q3b = "0.2 m; 0.2 m";
q3c = "1.0 m; 1.4 m";
q3d = "1.4 m; 0.2 m";
q3e = "1.4 m; 1.0 m";
q3section = "3";
q3answer = "d";
q3type = "";
q3review = "If the two waves are in phase, their amplitudes add, so that the net wave has amplitude 1.4 m. If the two waves are out of phase, their amplitudes subtract, giving a net wave of amplitude 0.2 m.";
q4 = "The lowest frequency on a guitar is obtained when the top string (the low E string) is played open, in its fundamental mode; the eighth harmonic of that frequency can be obtained on the bottom guitar string (the high E string) when it is constrained at its midpoint. Both strings have the same length. What is the ratio of the wave speed on the high E string to the wave speed on the low E string?";
q4a = "1";
q4b = "2";
q4c = "4";
q4d = "8";
q4e = "16";
q4section = "4";
q4answer = "c";
q4type = "";
q4review = "When the high E string is constrained, it has a node at its midpoint, and thus a half wavelength fits into half the length. The low E string vibrates in its fundamental mode, where one half wavelength fits into the full length. Since <i>v</i> = &lambda;<i>f</i>, the high E string, with eight times the frequency and half the wavelength, has 8 &times; &frac12; = 4 times the speed.";
