/**
*  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 = "24"
var book_no = 97422
var book_title = "Physics for Engineers and Scientists 3rd Edition"
quiz_name = "Physics for Engineers and Scientists 3rd Edition, Chapter 24 Quiz"
var confirm="/college/physics/om/_content/_index/confirm.htm"
number_answers = new Array(3,5,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] = "24.1 Electric Flux"
section_title[2] = "24.2 Gauss&rsquo; Law"
section_title[3] = "24.3 Applications of Gauss&rsquo; Law"
section_title[4] = "24.4 Superposition of Electric Fields"
section_title[5] = "24.5 Conductors and Electric Fields"

// Types
type_title = new Array();     //Leave at least this line! Can delete ones under.

q1        = "<img src='../../_images/_quiz/_ch_24/figure_24-09.jpg' alt='Figure 24.9'><br>Consider the point charge and surface of the figure above. The net flux through this surface is";
q1answer  = "c";
q1review  = "Since all the field lines that enter the surface also leave it, the net flux through the surface is zero.";
q1type    = "";
q1section = "1";
q1a       = "Positive ";
q1b       = "Negative ";
q1c       = "Zero";

q2        = "A sphere of radius <span style='font-family:\"Times\";'><i>R</i></span> is in a region of uniform electric field <span style='font-family:\"Times\";'><i>E</i></span>. The net flux through the surface of the sphere is";
q2answer  = "e";
q2review  = "Since the field is uniform, field lines enter the sphere on one side and leave it on the other; the net flux through the sphere is zero.";
q2type    = "";
q2section = "2";
q2a       = "<span style='font-family:\"Times\";'><i>E</i></span> &times; &pi;<span style='font-family:\"Times\";'><i>R</i></span><sup>2</sup> ";
q2b       = "<span style='font-family:\"Times\";'><i>E</i></span> &times; 2&pi;<span style='font-family:\"Times\";'><i>R</i></span><sup>2</sup> ";
q2c       = "<span style='font-family:\"Times\";'><i>E</i></span> &times; (4/3)&pi;<span style='font-family:\"Times\";'><i>R</i></span><sup>2</sup> ";
q2d       = "<span style='font-family:\"Times\";'><i>E</i></span> &times; &pi;<span style='font-family:\"Times\";'><i>R</i></span><sup>3</sup> ";
q2e       = "Zero";

q3        = "The electric field at some distance from a long wire carrying a uniform charge distribution is 1.0 &times; 10<sup>5</sup> N/C. What is the electric field at twice the distance?";
q3answer  = "b";
q3review  = "We saw in Example 7, as in Chapter 23, that the electric field <span style='font-family:\"Times\";'><i>E</i></span> due to a linear charge distribution varies as 1/<i>r</i>. Thus at twice the distance, the field is half as large.";
q3type    = "";
q3section = "3";
q3a       = "2.5 &times; 10<sup>4</sup> N/C ";
q3b       = "5.0 &times; 10<sup>4</sup> N/C ";
q3c       = "1.0 &times; 10<sup>5</sup> N/C";
q3d       = "2.0 &times; 10<sup>5</sup> N/C ";
q3e       = "4.0 &times; 10<sup>5</sup> N/C";

q4        = "Two parallel infinite sheets carry positive uniform surface charge densities &sigma; and 2&sigma;.What is the magnitude of the electric field between the sheets? Outside both sheets?";
q4answer  = "b";
q4review  = "The field contribution due to the sheet with charge density &sigma; is &sigma;/2&epsilon;<sub>0</sub>; that due to the 2&sigma; sheet is &sigma;/&epsilon;<sub>0</sub>. Since both charge densities are positive, each field contribution is directed away from its respective sheet. Thus between the two sheets these contributions oppose to give a net field of magnitude &sigma;/&epsilon;<sub>0</sub>  &#150; &sigma;/2&epsilon;<sub>0</sub> =  &sigma;/2&epsilon;<sub>0</sub>, and outside the sheets the two contributions are parallel and give a net field &sigma;/2&epsilon;<sub>0</sub> + &sigma;/&epsilon;<sub>0</sub> = 3&sigma;/2&epsilon;<sub>0</sub>.";
q4type    = "";
q4section = "4";
q4a       = "&sigma;/&epsilon;<sub>0</sub>; 3&sigma;/&epsilon;<sub>0</sub> ";
q4b       = "&sigma;/2&epsilon;<sub>0</sub>; 3&sigma;/2&epsilon;<sub>0</sub> ";
q4c       = "3&sigma;/2&epsilon;<sub>0</sub>; &sigma;/2&epsilon;<sub>0</sub>";
q4d       = "&sigma;/&epsilon;<sub>0</sub>, 0 ";
q4e       = "0, &sigma;/&epsilon;<sub>0</sub>";

q5        = "A point charge <span style='font-family:\"Times\";'><i>Q</i></span> is at the center of an uncharged spherical conducting shell. How much charge is on the inner surface of the shell? The outer surface?";
q5answer  = "d";
q5review  = "The point charge <span style='font-family:\"Times\";'><i>Q</i></span> induces an opposite charge &#150;<span style='font-family:\"Times\";'><i>Q</i></span> on the inner surface of the conductor; this ensures <span style='font-family:\"Times\";'><b>E</b></span> = 0 inside the conducting shell. Since the shell is overall uncharged, the charge &#150;<span style='font-family:\"Times\";'><i>Q</i></span> on the inner surface implies there is a charge <span style='font-family:\"Times\";'><i>Q</i></span> on its outer surface.";
q5type    = "";
q5section = "5";
q5a       = "0; 0 ";
q5b       = "<span style='font-family:\"Times\";'><i>Q</i></span>; 0 ";
q5c       = "&#150;<span style='font-family:\"Times\";'><i>Q</i></span>; 0 ";
q5d       = "&#150;<span style='font-family:\"Times\";'><i>Q</i></span>; <span style='font-family:\"Times\";'><i>Q</i></span> ";
q5e       = "<span style='font-family:\"Times\";'><i>Q</i></span>; &#150;<span style='font-family:\"Times\";'><i>Q</i></span>";