{"id":5504,"date":"2026-11-23T14:23:55","date_gmt":"2026-11-23T14:23:55","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5504"},"modified":"2026-11-23T14:23:56","modified_gmt":"2026-11-23T14:23:56","slug":"class-9-science-chapter-7","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5504","title":{"rendered":"class 9 science chapter 7"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">ch7 part1<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>\ud83e\udde0 Science Quiz \u2013 Work Done&lt;\/title>\n\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 {\n  text-align: center;\n  color: #1e3c72;\n}\n.question {\n  font-weight: bold;\n  margin: 10px 0;\n  line-height: 1.6;\n}\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n.options label:hover {\n  background: #f0f0f0;\n}\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n  line-height: 1.6;\n}\n.controls {\n  text-align: center;\n  margin-top: 15px;\n}\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover {\n  background-color: #1e3c72;\n}\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 {\n  text-align: center;\n}\nol {\n  padding-left: 20px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Work Done&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n  &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n  &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n  &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n  &lt;div id=\"questionContainer\">&lt;\/div>\n\n  &lt;div class=\"controls\">\n    &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n    &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n    &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n  &lt;div id=\"scoreboard\">\n    &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n    &lt;ol id=\"scoreList\">&lt;\/ol>\n  &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Science mein work done ko kis situation mein define kiya jaata hai?\",\noptions: &#91;\n\"A. Jab force lage, chahe displacement ho ya nahi\",\n\"B. Jab object ka mass change ho\",\n\"C. Jab force object par displacement cause kare\",\n\"D. Jab object sirf rest mein ho\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. Jab force object par displacement cause kare.&lt;br>Scientific meaning mein work tab hota hai jab force object par displacement produce kare. Sirf force lagna sufficient nahi hai.\"\n},\n\n{\nquestion: \"2. Ek 5 kg wheat bag ko slowly 1 m height tak lift kiya jaata hai. Bag par gravitational force kis direction mein act karta hai?\",\noptions: &#91;\n\"A. Upward\",\n\"B. Downward\",\n\"C. Horizontal right\",\n\"D. Horizontal left\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct Answer: B. Downward.&lt;br>Gravitational force ya weight hamesha Earth ki taraf, yani downward act karta hai.\"\n},\n\n{\nquestion: \"3. Ek 5 kg wheat bag ko 1 m height tak slowly lift karne ke liye upward force approximately kitna hoga? Take g = 10 m\/s\u00b2.\",\noptions: &#91;\n\"A. 5 N\",\n\"B. 10 N\",\n\"C. 50 N\",\n\"D. 500 N\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. 50 N.&lt;br>Weight = mg = 5 \u00d7 10 = 50 N. Bag ko slowly lift karne ke liye upward applied force approximately 50 N hona chahiye.\"\n},\n\n{\nquestion: \"4. Agar ek wheat bag ko 1 m ki jagah 3 m height tak same force se lift kiya jaaye, to work done kitna hoga?\",\noptions: &#91;\n\"A. 1\/3 times\",\n\"B. Same\",\n\"C. 2 times\",\n\"D. 3 times\"\n],\ncorrect: 3,\nexplanation: \"\u2705 Correct Answer: D. 3 times.&lt;br>Work = Force \u00d7 displacement. Same force mein displacement 1 m se 3 m ho gaya, isliye work 3 times ho jaayega.\"\n},\n\n{\nquestion: \"5. Ek bag ko same height tak lift karne ke liye agar applied force ko 2 times kar diya jaaye aur displacement same rahe, to work done par kya effect hoga?\",\noptions: &#91;\n\"A. Half ho jayega\",\n\"B. Same rahega\",\n\"C. 2 times ho jayega\",\n\"D. 4 times ho jayega\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. 2 times ho jayega.&lt;br>W = F \u00d7 s. Displacement same hai aur force 2 times hai, isliye work done bhi 2 times ho jaayega.\"\n},\n\n{\nquestion: \"6. Work done by a constant force ka correct formula kya hai, jab displacement force ki direction mein ho?\",\noptions: &#91;\n\"A. W = F\/s\",\n\"B. W = F \u00d7 s\",\n\"C. W = m\/s\",\n\"D. W = F + s\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct Answer: B. W = F \u00d7 s.&lt;br>Jab force aur displacement same direction mein hon, work done = force \u00d7 displacement.\"\n},\n\n{\nquestion: \"7. Ek object par 10 N ka constant force lagaya jaata hai aur object force ki direction mein 2 m move karta hai. Work done kitna hoga?\",\noptions: &#91;\n\"A. 5 J\",\n\"B. 12 J\",\n\"C. 20 J\",\n\"D. 200 J\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. 20 J.&lt;br>W = F \u00d7 s = 10 \u00d7 2 = 20 J.\"\n},\n\n{\nquestion: \"8. Work done ka SI unit kya hai?\",\noptions: &#91;\n\"A. Newton\",\n\"B. Watt\",\n\"C. Joule\",\n\"D. Kilogram\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. Joule.&lt;br>Work ka SI unit joule (J) hai. 1 joule = 1 newton \u00d7 1 metre, yani 1 J = 1 N m.\"\n},\n\n{\nquestion: \"9. 1 joule work ka correct meaning kya hai?\",\noptions: &#91;\n\"A. 1 N force se object 1 m force ki direction mein displace ho\",\n\"B. 1 kg object 1 m\/s speed se move kare\",\n\"C. 1 N force se object 1 s mein move kare\",\n\"D. 1 kg object par 1 N force lage\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct Answer: A. 1 N force se object 1 m force ki direction mein displace ho.&lt;br>1 J work tab hota hai jab 1 N constant force object ko force ki direction mein 1 m displace kare.\"\n},\n\n{\nquestion: \"10. Force-displacement graph mein agar force constant ho, to work done graph mein kis quantity ke equal hota hai?\",\noptions: &#91;\n\"A. Graph ki slope\",\n\"B. Graph ka shaded area\",\n\"C. Graph ka highest point\",\n\"D. Displacement ka square\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct Answer: B. Graph ka shaded area.&lt;br>Force-displacement graph mein work done curve ke neeche ke area ke equal hota hai. Constant force ke case mein ye rectangular area hota hai: W = F \u00d7 s.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n          ${opt}\n        &lt;\/label>\n      `).join('')}\n    &lt;\/div>\n\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n  userAnswers&#91;currentQuestion] = selected\n    ? parseInt(selected.value)\n    : null;\n}\n\nfunction submitQuiz() {\n\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n\n      let cls = \"\";\n\n      if (i === correct) cls = \"correct\";\n\n      if (selected === i &amp;&amp; selected !== correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n    }).join('');\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join('');\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part2<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Work Done | APICAL CLASSES&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n    margin: 0;\n}\n\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\n\nh2 {\n    text-align: center;\n    color: #1e3c72;\n}\n\n.question {\n    font-weight: bold;\n    margin: 15px 0;\n    line-height: 1.6;\n}\n\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 12px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n\n.options label:hover {\n    background: #f0f0f0;\n}\n\n.options input {\n    margin-right: 8px;\n}\n\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n\n.explanation {\n    background: #e9ecef;\n    padding: 12px;\n    margin-top: 12px;\n    border-left: 5px solid #2a5298;\n    line-height: 1.6;\n    display: none;\n}\n\n.controls {\n    text-align: center;\n    margin-top: 20px;\n}\n\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n    font-size: 15px;\n}\n\nbutton:hover {\n    background-color: #1e3c72;\n}\n\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n\n#scoreboard h3 {\n    text-align: center;\n}\n\nol {\n    padding-left: 20px;\n}\n\n#result {\n    text-align: center;\n    margin-top: 20px;\n}\n\n#userName {\n    padding: 10px;\n    width: 90%;\n    max-width: 350px;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    margin-bottom: 10px;\n}\n\n.progress {\n    text-align: center;\n    color: #555;\n    margin-bottom: 15px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Work Done&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;br>\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div class=\"progress\" id=\"progress\">&lt;\/div>\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Agar kisi object par acting force F = 0 hai, to object par work done kitna hoga?\",\noptions: &#91;\n\"A. Zero\",\n\"B. One joule\",\n\"C. Force ke equal\",\n\"D. Displacement ke equal\"\n],\ncorrect: 0,\nexplanation: \"Work done ka formula W = F \u00d7 s hai. Agar F = 0 hai, to work done bhi zero hoga.\"\n},\n\n{\nquestion: \"2. Ek person ek rigid wall ko bahut force se push karta hai, lekin wall move nahi hoti. Wall par scientific sense mein work done kitna hai?\",\noptions: &#91;\n\"A. Maximum\",\n\"B. Zero\",\n\"C. Negative\",\n\"D. Positive\"\n],\ncorrect: 1,\nexplanation: \"Wall par force lag raha hai, lekin displacement zero hai. Isliye W = F \u00d7 0 = 0. Person tired ho sakta hai, lekin wall par scientific work zero hai.\"\n},\n\n{\nquestion: \"3. Ek girl ek box ko upar ki taraf force laga kar horizontal direction mein carry kar rahi hai. Box ka displacement horizontal hai. Girl ke upward force ke dwara box par work done kitna hoga?\",\noptions: &#91;\n\"A. Positive\",\n\"B. Negative\",\n\"C. Zero\",\n\"D. Maximum\"\n],\ncorrect: 2,\nexplanation: \"Force upward hai aur displacement horizontal. Dono directions perpendicular hain, isliye force ki direction mein displacement nahi hai aur work done zero hai.\"\n},\n\n{\nquestion: \"4. Kisi object par force act kar raha hai, lekin object ka displacement zero hai. Work done ke baare mein kya correct hai?\",\noptions: &#91;\n\"A. Work always positive hoga\",\n\"B. Work always negative hoga\",\n\"C. Work zero hoga\",\n\"D. Work force se greater hoga\"\n],\ncorrect: 2,\nexplanation: \"Work done = F \u00d7 s. Jab s = 0, force kitna bhi ho, work done zero hota hai.\"\n},\n\n{\nquestion: \"5. Jab applied force aur object ka displacement same direction mein ho, to work done kaisa hota hai?\",\noptions: &#91;\n\"A. Positive\",\n\"B. Negative\",\n\"C. Zero\",\n\"D. Undefined\"\n],\ncorrect: 0,\nexplanation: \"Force aur displacement same direction mein hone par force object ki motion ko support karta hai, isliye work done positive hota hai.\"\n},\n\n{\nquestion: \"6. Ek boy wheelchair ko forward direction mein push karta hai aur wheelchair bhi forward move karti hai. Boy dwara wheelchair par kiya gaya work kaisa hoga?\",\noptions: &#91;\n\"A. Zero work\",\n\"B. Negative work\",\n\"C. Positive work\",\n\"D. No work because wheelchair has wheels\"\n],\ncorrect: 2,\nexplanation: \"Boy ka force aur wheelchair ka displacement same direction mein hain. Isliye boy wheelchair par positive work karta hai.\"\n},\n\n{\nquestion: \"7. Ek goalkeeper moving football ko stop karne ke liye ball ki motion ke opposite direction mein force lagata hai. Goalkeeper dwara ball par kiya gaya work kaisa hoga?\",\noptions: &#91;\n\"A. Positive\",\n\"B. Negative\",\n\"C. Zero\",\n\"D. Infinite\"\n],\ncorrect: 1,\nexplanation: \"Goalkeeper ka force ball ke displacement ke opposite direction mein hai. Isliye goalkeeper ball par negative work karta hai.\"\n},\n\n{\nquestion: \"8. Moving football ko goalkeeper stop karta hai. Newton's Third Law ke according ball aur goalkeeper ek-doosre par kya force lagate hain?\",\noptions: &#91;\n\"A. Equal and opposite forces\",\n\"B. Equal forces in same direction\",\n\"C. Different forces in same direction\",\n\"D. Sirf goalkeeper force lagata hai\"\n],\ncorrect: 0,\nexplanation: \"Newton's Third Law ke according dono objects ek-doosre par equal magnitude aur opposite direction ki forces lagate hain.\"\n},\n\n{\nquestion: \"9. Jab goalkeeper ball ko stop karta hai, ball goalkeeper par jo force lagati hai, us force ke dwara goalkeeper par work kaisa hota hai?\",\noptions: &#91;\n\"A. Negative work\",\n\"B. Zero work\",\n\"C. Positive work\",\n\"D. No work\"\n],\ncorrect: 2,\nexplanation: \"Ball goalkeeper ko force karti hai aur goalkeeper ka displacement ball ke force ki direction mein hota hai. Isliye ball goalkeeper par positive work karti hai.\"\n},\n\n{\nquestion: \"10. Work ke baare mein kaunsa statement correct hai?\",\noptions: &#91;\n\"A. Work ki hamesha direction hoti hai.\",\n\"B. Work sirf positive ho sakta hai.\",\n\"C. Work ka koi direction nahi hota, lekin positive ya negative value ho sakti hai.\",\n\"D. Work hamesha zero hota hai jab force lagta hai.\"\n],\ncorrect: 2,\nexplanation: \"Force aur displacement vector quantities hain, lekin work ek scalar quantity hai. Work ko positive, negative ya zero value se describe kiya ja sakta hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\nlet quizSubmitted = false;\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) {\n        alert(\"Please enter your name.\");\n        return;\n    }\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    document.getElementById(\"progress\").innerText =\n        \"Question \" + (currentQuestion + 1) + \" of \" + questions.length;\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\"\n                    name=\"option\"\n                    value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? \"checked\" : \"\"}>\n                    ${opt}\n                &lt;\/label>\n            `).join(\"\")}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] =\n        selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction submitQuiz() {\n\n    if (quizSubmitted) return;\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) {\n            score++;\n        }\n    });\n\n    quizSubmitted = true;\n\n    showResults();\n\n    saveScore(userName, score);\n\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) {\n                cls = \"correct\";\n            }\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join(\"\");\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n\n            &lt;div class=\"options\">\n                ${optsHTML}\n            &lt;\/div>\n\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n            &lt;\/div>\n\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"progress\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML = `\n        &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n        &lt;p>&lt;strong>Student Name:&lt;\/strong> ${userName}&lt;\/p>\n        &lt;p>Correct Answers: ${score}&lt;\/p>\n        &lt;p>Incorrect \/ Unanswered: ${questions.length - score}&lt;\/p>\n    `;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name: name,\n        score: score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s =>\n            `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n        ).join(\"\");\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Work Done | APICAL CLASSES&lt;\/title>\n\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n  box-sizing: border-box;\n}\n\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\n\nh2 {\n  text-align: center;\n  color: #1e3c72;\n}\n\n.question {\n  font-weight: bold;\n  margin: 10px 0;\n  line-height: 1.6;\n}\n\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n\n.options label:hover {\n  background: #f0f0f0;\n}\n\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n  line-height: 1.6;\n}\n\n.controls {\n  text-align: center;\n  margin-top: 15px;\n}\n\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\n\nbutton:hover {\n  background-color: #1e3c72;\n}\n\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n\n#scoreboard h3 {\n  text-align: center;\n}\n\nol {\n  padding-left: 20px;\n}\n\n#result {\n  text-align: center;\n  margin-top: 20px;\n  color: #1e3c72;\n}\n\n@media(max-width:600px) {\n  body {\n    padding: 10px;\n  }\n  .quiz-container {\n    width: 100%;\n    padding: 15px;\n  }\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Work Done&lt;br>APICAL CLASSES&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n  &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n  &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n  &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n  &lt;div id=\"questionContainer\">&lt;\/div>\n\n  &lt;div class=\"controls\">\n    &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n    &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n    &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"result\">&lt;\/div>\n\n  &lt;div id=\"scoreboard\">\n    &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n    &lt;ol id=\"scoreList\">&lt;\/ol>\n  &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Ek girl dumbbell ko slowly upward lift karti hai. Dumbbell par girl ka applied force aur displacement kis direction mein hote hain?\",\noptions: &#91;\n\"A. Opposite direction\",\n\"B. Same direction\",\n\"C. Perpendicular direction\",\n\"D. No direction\"\n],\ncorrect: 1,\nexplanation: \"Dumbbell ko upar lift karte waqt girl ka force upward aur displacement bhi upward hota hai. Isliye girl positive work karti hai.\"\n},\n\n{\nquestion: \"2. Jab girl dumbbell ko slowly neeche lower karti hai, to girl ka applied force aur dumbbell ka displacement kis direction mein hote hain?\",\noptions: &#91;\n\"A. Same direction\",\n\"B. Opposite direction\",\n\"C. Perpendicular direction\",\n\"D. Both zero\"\n],\ncorrect: 1,\nexplanation: \"Dumbbell downward move karta hai, lekin girl use control karne ke liye upward force lagati hai. Force aur displacement opposite hain, isliye work negative hota hai.\"\n},\n\n{\nquestion: \"3. Dumbbell ko upward lift karte samay girl dumbbell par kaisa work karti hai?\",\noptions: &#91;\n\"A. Negative work\",\n\"B. Zero work\",\n\"C. Positive work\",\n\"D. No work\"\n],\ncorrect: 2,\nexplanation: \"Upward lifting mein force aur displacement same direction mein hain, isliye girl ka work positive hai.\"\n},\n\n{\nquestion: \"4. Dumbbell ko slowly downward lower karte samay girl dumbbell par kaisa work karti hai?\",\noptions: &#91;\n\"A. Positive work\",\n\"B. Negative work\",\n\"C. Zero work\",\n\"D. Infinite work\"\n],\ncorrect: 1,\nexplanation: \"Girl ka applied force upward hota hai, jabki dumbbell ka displacement downward. Opposite directions hone ke karan work negative hota hai.\"\n},\n\n{\nquestion: \"5. Goalkeeper ball ko stop karte waqt 200 N force lagati hai aur ball ka displacement force ki opposite direction mein 15 cm hai. Work done ka correct value kya hoga?\",\noptions: &#91;\n\"A. +30 J\",\n\"B. \u221230 J\",\n\"C. +300 J\",\n\"D. \u2212300 J\"\n],\ncorrect: 1,\nexplanation: \"15 cm = 0.15 m. Force aur displacement opposite direction mein hain. W = 200 \u00d7 (\u22120.15) = \u221230 J.\"\n},\n\n{\nquestion: \"6. Goalkeeper ke case mein work done negative kyun hai?\",\noptions: &#91;\n\"A. Force aur displacement same direction mein hain.\",\n\"B. Ball rest mein thi.\",\n\"C. Force ball ke displacement ke opposite direction mein hai.\",\n\"D. Force zero hai.\"\n],\ncorrect: 2,\nexplanation: \"Goalkeeper ball ko stop karne ke liye motion ke opposite force lagati hai. Isliye uska work ball par negative hota hai.\"\n},\n\n{\nquestion: \"7. Ek weightlifter 30 kg barbell ko apne hands mein steady hold kar rahi hai. Agar barbell ka displacement zero hai, to barbell par weightlifter ka work kitna hoga?\",\noptions: &#91;\n\"A. Positive\",\n\"B. Negative\",\n\"C. Zero\",\n\"D. 30 J\"\n],\ncorrect: 2,\nexplanation: \"Weightlifter force laga rahi hai, lekin barbell move nahi kar raha, yani displacement zero hai. Therefore, W = F \u00d7 0 = 0.\"\n},\n\n{\nquestion: \"8. Ek stack of coins rough surface par move kar raha hai. Friction motion ke opposite direction mein act karta hai. Friction dwara coins par work kaisa hoga?\",\noptions: &#91;\n\"A. Positive\",\n\"B. Negative\",\n\"C. Zero\",\n\"D. Always infinite\"\n],\ncorrect: 1,\nexplanation: \"Friction ki direction motion\/displacement ke opposite hoti hai. Isliye friction coins par negative work karta hai aur unki speed decrease karta hai.\"\n},\n\n{\nquestion: \"9. Agar goalkeeper ball ko stop karne ke liye 200 N force lagati hai aur ball force ki direction mein 0.15 m move karti, to work done ka sign kya hota?\",\noptions: &#91;\n\"A. Positive\",\n\"B. Negative\",\n\"C. Zero\",\n\"D. Cannot be determined\"\n],\ncorrect: 0,\nexplanation: \"Agar force aur displacement same direction mein hote, to work positive hota. Negative work tab hota hai jab displacement force ke opposite ho.\"\n},\n\n{\nquestion: \"10. Inmein se kis situation mein applied force dwara negative work kiya jaata hai?\",\noptions: &#91;\n\"A. Girl dumbbell ko upward lift karti hai.\",\n\"B. Boy wheelchair ko forward push karta hai.\",\n\"C. Goalkeeper moving ball ko opposite force laga kar stop karti hai.\",\n\"D. Person stationary wall ko push karta hai.\"\n],\ncorrect: 2,\nexplanation: \"Goalkeeper ka force ball ke displacement ke opposite direction mein hota hai, isliye work negative hota hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n  userAnswers&#91;currentQuestion] =\n    selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n\n      let cls = \"\";\n\n      if (i === correct) {\n        cls = \"correct\";\n      }\n\n      if (selected === i &amp;&amp; selected !== correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n\n      &lt;div class=\"options\">\n        ${optsHTML}\n      &lt;\/div>\n\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML = `\n    &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n    &lt;p>${score >= 8 ? \"Excellent Performance! \ud83c\udf89\" :\n      score >= 5 ? \"Good Job! Keep Practicing! \ud83d\udc4d\" :\n      \"Keep Learning and Try Again! \ud83d\udcda\"}&lt;\/p>\n  `;\n}\n\nfunction saveScore(name, score) {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name: name,\n    score: score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join(\"\");\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part4<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>\ud83e\udde0 Work and Energy Quiz&lt;\/title>\n\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n  box-sizing: border-box;\n}\n\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\n\nh2 {\n  text-align: center;\n  color: #1e3c72;\n}\n\n.question {\n  font-weight: bold;\n  margin: 10px 0;\n  line-height: 1.6;\n}\n\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n  line-height: 1.5;\n}\n\n.options label:hover {\n  background: #f0f0f0;\n}\n\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n  line-height: 1.6;\n}\n\n.controls {\n  text-align: center;\n  margin-top: 15px;\n}\n\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\n\nbutton:hover {\n  background-color: #1e3c72;\n}\n\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n\n#scoreboard h3 {\n  text-align: center;\n}\n\nol {\n  padding-left: 20px;\n}\n\n#userName {\n  padding: 10px;\n  width: 90%;\n  max-width: 350px;\n  border: 1px solid #ccc;\n  border-radius: 6px;\n  margin-bottom: 10px;\n}\n\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Work and Energy Quiz \u2013 APICAL CLASSES&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n  &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n  &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n  &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n  &lt;div id=\"questionContainer\">&lt;\/div>\n\n  &lt;div class=\"controls\">\n    &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n    &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n    &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n  &lt;div id=\"scoreboard\">\n    &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n    &lt;ol id=\"scoreList\">&lt;\/ol>\n  &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Kisi object ke paas capacity to do work ho, to science mein us object ke paas kya kaha jaata hai?\",\noptions: &#91;\n\"A. Force\",\n\"B. Energy\",\n\"C. Acceleration\",\n\"D. Displacement\"\n],\ncorrect: 1,\nexplanation: \"Kisi object ki work karne ki capacity ko energy kehte hain.\"\n},\n\n{\nquestion: \"2. Ek fielder cricket ball ko force laga kar wicket ki taraf throw karta hai. Ball ko energy kaise milti hai?\",\noptions: &#91;\n\"A. Wicket ke force se\",\n\"B. Gravity ke zero hone se\",\n\"C. Fielder dwara ball par kiye gaye work se\",\n\"D. Air friction se\"\n],\ncorrect: 2,\nexplanation: \"Fielder ball par positive work karta hai, jisse ball ki energy increase hoti hai.\"\n},\n\n{\nquestion: \"3. Ek flowerpot ko ground se utha kar height par rakha jaata hai. Pot ko energy kaise milti hai?\",\noptions: &#91;\n\"A. Pot par work done ke through\",\n\"B. Air pressure ke through\",\n\"C. Sound energy ke through\",\n\"D. Friction ke through\"\n],\ncorrect: 0,\nexplanation: \"Pot ko height tak raise karne mein work kiya jaata hai. Ye work pot ki gravitational potential energy increase karta hai.\"\n},\n\n{\nquestion: \"4. Work-Energy Theorem ke according kisi object par kiya gaya net work kis ke equal hota hai?\",\noptions: &#91;\n\"A. Object ke mass ke\",\n\"B. Object ke displacement ke\",\n\"C. Object ki kinetic energy mein change ke\",\n\"D. Object ke velocity ke\"\n],\ncorrect: 2,\nexplanation: \"Work-Energy Theorem ke according, kisi object par kiya gaya net work uski kinetic energy mein change ke equal hota hai.\"\n},\n\n{\nquestion: \"5. Jab kisi object par positive net work kiya jaata hai, to object ki kinetic energy par kya effect hota hai?\",\noptions: &#91;\n\"A. Energy decrease hoti hai\",\n\"B. Energy increase hoti hai\",\n\"C. Energy always zero ho jaati hai\",\n\"D. Mass decrease hota hai\"\n],\ncorrect: 1,\nexplanation: \"Positive net work object ki kinetic energy increase karta hai.\"\n},\n\n{\nquestion: \"6. Cricket ball wicket se takrakar wickets ko move kar deti hai. Is situation mein energy ka kya hota hai?\",\noptions: &#91;\n\"A. Ball ki energy destroy ho jaati hai\",\n\"B. Ball apni energy wickets ko transfer karti hai\",\n\"C. Wickets ball ko energy deti hain only\",\n\"D. Koi energy transfer nahi hoti\"\n],\ncorrect: 1,\nexplanation: \"Moving ball ke paas kinetic energy hoti hai. Collision ke during ball apni energy ka kuch part wickets ko transfer karti hai, jisse wickets move karti hain.\"\n},\n\n{\nquestion: \"7. Carrom mein moving striker white coin se collide karta hai. Striker white coin par positive work karta hai. White coin ki energy par kya effect hoga?\",\noptions: &#91;\n\"A. Increase hogi\",\n\"B. Decrease hogi\",\n\"C. Zero ho jayegi\",\n\"D. Same rahegi\"\n],\ncorrect: 0,\nexplanation: \"Striker white coin ko force deta hai aur uski direction mein displacement produce karta hai. Isliye positive work hota hai aur white coin ki kinetic energy increase hoti hai.\"\n},\n\n{\nquestion: \"8. Carrom mein moving striker white coin se collide karta hai. Newton's Third Law ke according white coin striker par opposite force lagata hai. Is force ke dwara striker par work kaisa hoga?\",\noptions: &#91;\n\"A. Positive\",\n\"B. Negative\",\n\"C. Zero\",\n\"D. Infinite\"\n],\ncorrect: 1,\nexplanation: \"Collision ke dauran white coin ka force striker ke displacement ke opposite direction mein hota hai. Isliye white coin striker par negative work karta hai aur striker ki kinetic energy decrease hoti hai.\"\n},\n\n{\nquestion: \"9. Energy ke baare mein kaunsa statement correct hai?\",\noptions: &#91;\n\"A. Energy sirf mechanical work ke through transfer ho sakti hai.\",\n\"B. Energy heat, radiation, electric circuits aur sound waves ke through bhi transfer ho sakti hai.\",\n\"C. Energy kabhi heat ke form mein transfer nahi hoti.\",\n\"D. Energy sirf moving objects mein hoti hai.\"\n],\ncorrect: 1,\nexplanation: \"Energy transfer ke many ways hain\u2014mechanical work, heat, radiation, electrical transfer aur sound waves.\"\n},\n\n{\nquestion: \"10. Work aur energy ka SI unit kya hai?\",\noptions: &#91;\n\"A. Newton (N)\",\n\"B. Watt (W)\",\n\"C. Joule (J)\",\n\"D. Metre (m)\"\n],\ncorrect: 2,\nexplanation: \"Work aur energy dono ka SI unit Joule (J) hai. Work done energy transfer aur change se connected hota hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n          ${opt}\n        &lt;\/label>\n      `).join('')}\n    &lt;\/div>\n\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n  userAnswers&#91;currentQuestion] =\n    selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n\n      let cls = \"\";\n\n      if (i === correct) {\n        cls = \"correct\";\n      }\n\n      if (selected === i &amp;&amp; selected !== correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n    }).join('');\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n\n      &lt;div class=\"options\">\n        ${optsHTML}\n      &lt;\/div>\n\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n\n      &lt;hr>\n    `;\n\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML = `\n    &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n    &lt;p>${score >= 8 ? \"Excellent Performance! \ud83c\udf89\" :\n       score >= 5 ? \"Good Attempt! Keep Practising.\" :\n       \"Keep Learning and Try Again!\"}&lt;\/p>\n  `;\n\n}\n\nfunction saveScore(name, score) {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join('');\n\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>\ud83e\udde0 Science Quiz \u2013 Forms of Energy&lt;\/title>\n\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question {\n  font-weight: bold;\n  margin: 10px 0;\n  line-height: 1.6;\n}\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n  line-height: 1.6;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Forms of Energy and Kinetic Energy&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n  &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n  &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n  &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n  &lt;div id=\"questionContainer\">&lt;\/div>\n\n  &lt;div class=\"controls\">\n    &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n    &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n    &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n  &lt;div id=\"scoreboard\">\n    &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n    &lt;ol id=\"scoreList\">&lt;\/ol>\n  &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Energy ke baare mein basic scientific definition kya hai?\",\noptions: &#91;\n\"A. Energy is the speed of an object\",\n\"B. Energy is the capacity to do work\",\n\"C. Energy is the force acting on an object\",\n\"D. Energy is the displacement of an object\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct Answer: B. Energy is the capacity to do work.&lt;br>Science mein energy ko work karne ki capacity ke roop mein define kiya jaata hai.\"\n},\n\n{\nquestion: \"2. Electric bulb mein electrical energy mainly kis form ki energy mein convert hoti hai?\",\noptions: &#91;\n\"A. Sound energy\",\n\"B. Chemical energy\",\n\"C. Light energy\",\n\"D. Nuclear energy\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. Light energy.&lt;br>Electric bulb mein electrical energy \u2192 light energy mein convert hoti hai. Saath mein kuch energy thermal energy mein bhi convert hoti hai.\"\n},\n\n{\nquestion: \"3. Electric water heater mein electrical energy mainly water ko kis form ki energy provide karti hai?\",\noptions: &#91;\n\"A. Thermal energy\",\n\"B. Sound energy\",\n\"C. Nuclear energy\",\n\"D. Chemical energy\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct Answer: A. Thermal energy.&lt;br>Heater electrical energy ko mainly thermal energy mein convert karta hai, jisse water heat hota hai.\"\n},\n\n{\nquestion: \"4. Hum jo food khate hain usmein stored chemical energy body mein mainly kis form ki energy provide karti hai?\",\noptions: &#91;\n\"A. Mechanical energy\",\n\"B. Nuclear energy\",\n\"C. Light energy\",\n\"D. Sound energy\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct Answer: A. Mechanical energy.&lt;br>Food ki chemical energy muscles ko power deti hai aur body movements ke liye mechanical energy mein convert hoti hai.\"\n},\n\n{\nquestion: \"5. Ek ringing bell mein mechanical energy kis form ki energy mein convert hoti hai?\",\noptions: &#91;\n\"A. Chemical energy\",\n\"B. Sound energy\",\n\"C. Nuclear energy\",\n\"D. Electrical energy\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct Answer: B. Sound energy.&lt;br>Bell vibrate karti hai, aur uski mechanical energy sound energy mein convert hoti hai.\"\n},\n\n{\nquestion: \"6. Mechanical energy kisi object ke paas kis wajah se hoti hai?\",\noptions: &#91;\n\"A. Sirf uske temperature ki wajah se\",\n\"B. Uski motion ya position ki wajah se\",\n\"C. Sirf uske colour ki wajah se\",\n\"D. Sirf uske volume ki wajah se\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct Answer: B. Uski motion ya position ki wajah se.&lt;br>Mechanical energy object ki motion ya position se related hoti hai. Ismein kinetic aur potential energy dono include hoti hain.\"\n},\n\n{\nquestion: \"7. Kisi moving bicycle ke paas kaunsi energy hoti hai jo uski motion ke reason se hoti hai?\",\noptions: &#91;\n\"A. Kinetic energy\",\n\"B. Chemical energy\",\n\"C. Nuclear energy\",\n\"D. Thermal energy\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct Answer: A. Kinetic energy.&lt;br>Object ki motion ke karan possessed energy ko kinetic energy kehte hain. Moving bicycle aur rolling ball iske examples hain.\"\n},\n\n{\nquestion: \"8. Ek object initially rest mein hai aur constant force ke under move karke velocity v achieve karta hai. Uski final kinetic energy ka expression kya hoga?\",\noptions: &#91;\n\"A. K = mv\",\n\"B. K = \u00bdmv\",\n\"C. K = \u00bdmv\u00b2\",\n\"D. K = mv\u00b2\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. K = \u00bdmv\u00b2.&lt;br>Mass m aur velocity v se moving object ki kinetic energy K = \u00bdmv\u00b2 hoti hai.\"\n},\n\n{\nquestion: \"9. Do objects ki mass same hai, lekin ek object ki speed doosre se double hai. Unki kinetic energies mein kya relation hoga?\",\noptions: &#91;\n\"A. Double\",\n\"B. Same\",\n\"C. Four times\",\n\"D. Half\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. Four times.&lt;br>Kinetic energy K = \u00bdmv\u00b2. Mass same hone par K \u221d v\u00b2. Speed double hone par kinetic energy 2\u00b2 = 4 times ho jaati hai.\"\n},\n\n{\nquestion: \"10. 2 kg mass ka ek object 3 m\/s ki speed se move kar raha hai. Uski kinetic energy kitni hogi?\",\noptions: &#91;\n\"A. 3 J\",\n\"B. 6 J\",\n\"C. 9 J\",\n\"D. 18 J\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct Answer: C. 9 J.&lt;br>K = \u00bdmv\u00b2 = \u00bd \u00d7 2 \u00d7 3\u00b2 = 1 \u00d7 9 = 9 J.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n          ${opt}\n        &lt;\/label>\n      `).join('')}\n    &lt;\/div>\n\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n  userAnswers&#91;currentQuestion] = selected\n    ? parseInt(selected.value)\n    : null;\n}\n\nfunction submitQuiz() {\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === correct) cls = \"correct\";\n\n      if (selected === i &amp;&amp; selected !== correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join('');\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join('');\n}\n\n&lt;\/script>\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Kinetic Energy&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n    margin: 0;\n}\n\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\n\nh2 {\n    text-align: center;\n    color: #1e3c72;\n}\n\n.question {\n    font-weight: bold;\n    margin: 10px 0;\n    line-height: 1.6;\n}\n\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n\n.options label:hover {\n    background: #f0f0f0;\n}\n\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    line-height: 1.6;\n    display: none;\n}\n\n.controls {\n    text-align: center;\n    margin-top: 15px;\n}\n\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\n\nbutton:hover {\n    background-color: #1e3c72;\n}\n\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n\n#scoreboard h3 {\n    text-align: center;\n}\n\nol {\n    padding-left: 20px;\n}\n\n.progress {\n    text-align: center;\n    color: #555;\n    margin-bottom: 15px;\n}\n\n#userName {\n    padding: 10px;\n    width: 90%;\n    max-width: 350px;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    margin-bottom: 10px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Kinetic Energy&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;br>\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div class=\"progress\" id=\"progress\">&lt;\/div>\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Kinetic energy ka SI unit kya hai?\",\noptions: &#91;\n\"A. Newton (N)\",\n\"B. Joule (J)\",\n\"C. Watt (W)\",\n\"D. Metre (m)\"\n],\ncorrect: 1,\nexplanation: \"Kinetic energy ka SI unit joule (J) hai, jo work ka bhi SI unit hai.\"\n},\n\n{\nquestion: \"2. Kinetic energy ke baare mein kaunsa statement correct hai?\",\noptions: &#91;\n\"A. Iski direction hoti hai.\",\n\"B. Ye hamesha negative hoti hai.\",\n\"C. Iski koi direction nahi hoti.\",\n\"D. Ye sirf stationary object mein hoti hai.\"\n],\ncorrect: 2,\nexplanation: \"Kinetic energy ek scalar quantity hai, isliye iski koi direction nahi hoti.\"\n},\n\n{\nquestion: \"3. Agar kisi object par positive work kiya jaata hai aur uski velocity increase hoti hai, to uski kinetic energy par kya effect hoga?\",\noptions: &#91;\n\"A. Decrease hogi\",\n\"B. Increase hogi\",\n\"C. Zero ho jayegi\",\n\"D. Same rahegi\"\n],\ncorrect: 1,\nexplanation: \"Positive work se object ki velocity increase ho sakti hai, aur velocity badhne par kinetic energy bhi increase hoti hai.\"\n},\n\n{\nquestion: \"4. Agar kisi moving object par negative work kiya jaata hai aur uski velocity decrease hoti hai, to kinetic energy kya hogi?\",\noptions: &#91;\n\"A. Increase hogi\",\n\"B. Decrease hogi\",\n\"C. Same rahegi\",\n\"D. Infinite ho jayegi\"\n],\ncorrect: 1,\nexplanation: \"K = 1\/2 mv\u00b2. Velocity decrease hone par kinetic energy bhi decrease hoti hai.\"\n},\n\n{\nquestion: \"5. Agar kisi object par force dwara zero work kiya jaata hai aur object ki velocity change nahi hoti, to uski kinetic energy ka kya hoga?\",\noptions: &#91;\n\"A. Increase hogi\",\n\"B. Decrease hogi\",\n\"C. Constant rahegi\",\n\"D. Zero ho jayegi\"\n],\ncorrect: 2,\nexplanation: \"Velocity same hai, aur K = 1\/2 mv\u00b2. Isliye kinetic energy constant rahegi.\"\n},\n\n{\nquestion: \"6. Ek vehicle ki velocity v se badhkar 2v ho jaati hai. Uski kinetic energy original kinetic energy ki comparison mein kitni hogi?\",\noptions: &#91;\n\"A. 2 times\",\n\"B. 3 times\",\n\"C. 4 times\",\n\"D. 8 times\"\n],\ncorrect: 2,\nexplanation: \"Kinetic energy velocity ke square ke proportional hai: K \u221d v\u00b2. Velocity double hone par kinetic energy 2\u00b2 = 4 times ho jaati hai.\"\n},\n\n{\nquestion: \"7. Ek cricket ball ka mass 0.2 kg hai aur delivery ke time uski velocity 43 m\/s hai. Ball ki kinetic energy approximately kitni hogi?\",\noptions: &#91;\n\"A. 86 J\",\n\"B. 184.9 J\",\n\"C. 369.8 J\",\n\"D. 925 J\"\n],\ncorrect: 1,\nexplanation: \"K = 1\/2 mv\u00b2 = 1\/2 \u00d7 0.2 \u00d7 43\u00b2 = 0.1 \u00d7 1849 = 184.9 J.\"\n},\n\n{\nquestion: \"8. Ek jet aircraft ka mass 15,000 kg hai aur landing ke time wire aircraft par 367,500 N backward force lagata hai. Aircraft 100 m mein stop ho jaata hai. Wire dwara kiya gaya work kitna hoga?\",\noptions: &#91;\n\"A. +36,750,000 J\",\n\"B. \u221236,750,000 J\",\n\"C. \u2212367,500 J\",\n\"D. +367,500 J\"\n],\ncorrect: 1,\nexplanation: \"Force aur aircraft ka displacement opposite direction mein hain. W = F \u00d7 s = 367,500 \u00d7 (\u2212100) = \u221236,750,000 J.\"\n},\n\n{\nquestion: \"9. Aircraft carrier wale example mein jet aircraft wire ke contact se pehle approximately kitni velocity se move kar raha tha?\",\noptions: &#91;\n\"A. 35 m\/s\",\n\"B. 50 m\/s\",\n\"C. 70 m\/s\",\n\"D. 100 m\/s\"\n],\ncorrect: 2,\nexplanation: \"Work-energy theorem ke according initial kinetic energy = stopping force dwara kiye gaye negative work ki magnitude. Calculation se v = 70 m\/s milta hai, jo 252 km\/h ke equal hai.\"\n},\n\n{\nquestion: \"10. Jet aircraft ko 100 m mein stop karne ke liye wire backward force lagata hai. Is process mein aircraft ki kinetic energy ka kya hota hai?\",\noptions: &#91;\n\"A. Kinetic energy increase hoti hai\",\n\"B. Kinetic energy decrease hokar zero ho jaati hai\",\n\"C. Kinetic energy constant rehti hai\",\n\"D. Kinetic energy mass mein convert ho jaati hai\"\n],\ncorrect: 1,\nexplanation: \"Wire aircraft ke motion ke opposite force lagata hai aur negative work karta hai. Isse aircraft ki kinetic energy decrease hoti hai aur stop hone par zero ho jaati hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\nlet quizSubmitted = false;\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) {\n        alert(\"Please enter your name.\");\n        return;\n    }\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    document.getElementById(\"progress\").innerText =\n        \"Question \" + (currentQuestion + 1) + \" of \" + questions.length;\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\"\n                    name=\"option\"\n                    value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? \"checked\" : \"\"}>\n                    ${opt}\n                &lt;\/label>\n            `).join(\"\")}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] =\n        selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction submitQuiz() {\n\n    if (quizSubmitted) return;\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) {\n            score++;\n        }\n    });\n\n    quizSubmitted = true;\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) {\n                cls = \"correct\";\n            }\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join(\"\");\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n\n            &lt;div class=\"options\">\n                ${optsHTML}\n            &lt;\/div>\n\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n            &lt;\/div>\n\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n    document.getElementById(\"progress\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML = `\n        &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n        &lt;p>&lt;strong>Student Name:&lt;\/strong> ${userName}&lt;\/p>\n        &lt;p>Correct Answers: ${score}&lt;\/p>\n        &lt;p>Incorrect \/ Unanswered: ${questions.length - score}&lt;\/p>\n    `;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name: name,\n        score: score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s =>\n            `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n        ).join(\"\");\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part7<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Potential Energy | APICAL CLASSES&lt;\/title>\n\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n  box-sizing: border-box;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 {\n  text-align: center;\n  color: #1e3c72;\n}\n.question {\n  font-weight: bold;\n  margin: 10px 0;\n  line-height: 1.6;\n}\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n.options label:hover {\n  background: #f0f0f0;\n}\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n  line-height: 1.6;\n}\n.controls {\n  text-align: center;\n  margin-top: 15px;\n}\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover {\n  background-color: #1e3c72;\n}\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 {\n  text-align: center;\n}\nol {\n  padding-left: 20px;\n}\n#result {\n  text-align: center;\n  margin-top: 20px;\n  color: #1e3c72;\n}\n@media(max-width:600px) {\n  body { padding: 10px; }\n  .quiz-container {\n    width: 100%;\n    padding: 15px;\n  }\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Potential Energy&lt;br>APICAL CLASSES&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n  &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n  &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n  &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n  &lt;div id=\"questionContainer\">&lt;\/div>\n\n  &lt;div class=\"controls\">\n    &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n    &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n    &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"result\">&lt;\/div>\n\n  &lt;div id=\"scoreboard\">\n    &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n    &lt;ol id=\"scoreList\">&lt;\/ol>\n  &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Stretched rubber band ko release karne par uske contact mein rakhe coins forward move karte hain. Coins ko motion kis wajah se milta hai?\",\noptions: &#91;\n\"A. Rubber band ki stored energy ke karan\",\n\"B. Coins ke mass ke karan\",\n\"C. Air friction ke karan\",\n\"D. Coins ke temperature ke karan\"\n],\ncorrect: 0,\nexplanation: \"Stretched rubber band mein deformation ke karan energy store hoti hai. Release karne par ye energy coins ko kinetic energy deti hai.\"\n},\n\n{\nquestion: \"2. Slingshot ki stretched elastic band mein energy kyun store hoti hai?\",\noptions: &#91;\n\"A. Uska temperature increase hota hai\",\n\"B. Uski shape\/deformation change hoti hai\",\n\"C. Uska mass increase hota hai\",\n\"D. Uski velocity zero hoti hai\"\n],\ncorrect: 1,\nexplanation: \"Elastic band ko stretch karne par uski shape deform hoti hai. Is deformation ke karan work stored energy ke form mein store hota hai.\"\n},\n\n{\nquestion: \"3. Archer jab bow ki string ko pull karta hai aur bow bend ho jaata hai, to bow mein kya store hota hai?\",\noptions: &#91;\n\"A. Sound energy\",\n\"B. Thermal energy\",\n\"C. Potential energy\",\n\"D. Nuclear energy\"\n],\ncorrect: 2,\nexplanation: \"Bent bow ki changed shape\/configuration ke karan usmein potential energy store hoti hai, jo release hone par arrow ko kinetic energy deti hai.\"\n},\n\n{\nquestion: \"4. Ek spring ko stretch ya compress karne par spring mein energy kaise store hoti hai?\",\noptions: &#91;\n\"A. Spring ki deformation ke karan\",\n\"B. Spring ki colour change ke karan\",\n\"C. Spring ke mass change ke karan\",\n\"D. Spring ke temperature zero hone ke karan\"\n],\ncorrect: 0,\nexplanation: \"Spring ko stretch ya compress karne mein work kiya jaata hai. Ye work spring ki deformed shape mein stored energy ke form mein rehta hai.\"\n},\n\n{\nquestion: \"5. Jab deformed spring ko release kiya jaata hai, to stored energy mainly kis form mein transfer ho sakti hai?\",\noptions: &#91;\n\"A. Kinetic energy\",\n\"B. Nuclear energy\",\n\"C. Chemical energy only\",\n\"D. Mass\"\n],\ncorrect: 0,\nexplanation: \"Release hone par spring apni original shape ki taraf aati hai aur stored energy ko contact mein object ki kinetic energy mein transfer kar sakti hai.\"\n},\n\n{\nquestion: \"6. Spring ko deform karne ke liye external force ki zarurat kyun hoti hai?\",\noptions: &#91;\n\"A. Internal forces ko overcome karne ke liye\",\n\"B. Spring ka mass badhane ke liye\",\n\"C. Spring ko heat karne ke liye\",\n\"D. Gravity ko completely remove karne ke liye\"\n],\ncorrect: 0,\nexplanation: \"Spring ke internal forces deformation ko oppose karte hain. Isliye external force laga kar un internal forces ko overcome karna padta hai.\"\n},\n\n{\nquestion: \"7. Do magnets ke unlike poles ko ek-doosre se separate karne par system mein energy kyun store hoti hai?\",\noptions: &#91;\n\"A. Magnets ka temperature badh jaata hai\",\n\"B. Unki relative positions change hoti hain\",\n\"C. Magnets ka mass double ho jaata hai\",\n\"D. Magnetic force completely disappear ho jaata hai\"\n],\ncorrect: 1,\nexplanation: \"Unlike poles ek-doosre ko attract karte hain. Unhe separate karne mein work karna padta hai, isliye system unki relative position ke karan energy store karta hai.\"\n},\n\n{\nquestion: \"8. Do unlike magnetic poles ko separate karke release kiya jaaye, to kya hoga?\",\noptions: &#91;\n\"A. Magnets ek-doosre se aur door chale jaayenge\",\n\"B. Magnets ek-doosre ki taraf move karenge aur kinetic energy gain karenge\",\n\"C. Magnets stationary rahenge\",\n\"D. Magnets ki mass decrease hogi\"\n],\ncorrect: 1,\nexplanation: \"Unlike poles attract karte hain. Release karne par magnets ek-doosre ki taraf move karte hain aur stored potential energy kinetic energy mein convert hoti hai.\"\n},\n\n{\nquestion: \"9. Ball ko Earth ki surface se height tak lift karne par ball-Earth system mein energy kis wajah se store hoti hai?\",\noptions: &#91;\n\"A. Ball aur Earth ki relative position ke karan\",\n\"B. Ball ke colour ke karan\",\n\"C. Ball ki shape change hone ke karan\",\n\"D. Air friction ke karan\"\n],\ncorrect: 0,\nexplanation: \"Ball ko height par lift karne mein gravitational force ke against work kiya jaata hai. Isliye ball-Earth system mein relative position ke karan potential energy store hoti hai.\"\n},\n\n{\nquestion: \"10. Potential energy ki correct definition kya hai?\",\noptions: &#91;\n\"A. Sirf moving object ki energy\",\n\"B. Deformation ya objects ki relative positions ke karan stored energy\",\n\"C. Sirf heat ke karan stored energy\",\n\"D. Sirf electrical current ki energy\"\n],\ncorrect: 1,\nexplanation: \"Potential energy kisi object ki deformation ke karan ya interacting objects ki relative positions ke karan stored energy hoti hai. Examples: stretched spring, bent bow aur raised ball.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n  userAnswers&#91;currentQuestion] =\n    selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n\n      let cls = \"\";\n\n      if (i === correct) {\n        cls = \"correct\";\n      }\n\n      if (selected === i &amp;&amp; selected !== correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n\n      &lt;div class=\"options\">\n        ${optsHTML}\n      &lt;\/div>\n\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML = `\n    &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n    &lt;p>${score >= 8 ? \"Excellent Performance! \ud83c\udf89\" :\n      score >= 5 ? \"Good Job! Keep Practicing! \ud83d\udc4d\" :\n      \"Keep Learning and Try Again! \ud83d\udcda\"}&lt;\/p>\n  `;\n}\n\nfunction saveScore(name, score) {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name: name,\n    score: score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join(\"\");\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part8<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>\ud83e\udde0 Gravitational Potential Energy Quiz&lt;\/title>\n\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 {\n  text-align: center;\n  color: #1e3c72;\n}\n.question {\n  font-weight: bold;\n  margin: 10px 0;\n  line-height: 1.6;\n}\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n  line-height: 1.5;\n}\n.options label:hover {\n  background: #f0f0f0;\n}\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n  line-height: 1.6;\n}\n.controls {\n  text-align: center;\n  margin-top: 15px;\n}\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover {\n  background-color: #1e3c72;\n}\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 {\n  text-align: center;\n}\nol {\n  padding-left: 20px;\n}\n#userName {\n  padding: 10px;\n  width: 90%;\n  max-width: 350px;\n  border: 1px solid #ccc;\n  border-radius: 6px;\n  margin-bottom: 10px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Gravitational Potential Energy Quiz \u2013 APICAL CLASSES&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n  &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n  &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n  &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n  &lt;div id=\"questionContainer\">&lt;\/div>\n\n  &lt;div class=\"controls\">\n    &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n    &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n    &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n  &lt;div id=\"scoreboard\">\n    &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n    &lt;ol id=\"scoreList\">&lt;\/ol>\n  &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Gravitational potential energy mainly kis system ki wajah se hoti hai?\",\noptions: &#91;\n\"A. Ball aur air system\",\n\"B. Earth aur ball system\",\n\"C. Ball aur water system\",\n\"D. Earth aur Sun system\"\n],\ncorrect: 1,\nexplanation: \"Gravitational potential energy Earth aur object ke beech gravitational force ki wajah se store hoti hai. Isliye ise Earth-object system ki energy kaha jaata hai.\"\n},\n\n{\nquestion: \"2. Earth-ball system mein Earth ball ki taraf bahut kam kyun move karti hai?\",\noptions: &#91;\n\"A. Earth ka temperature kam hai\",\n\"B. Earth ka shape fixed hai\",\n\"C. Earth ka mass ball se bahut zyada hai\",\n\"D. Ball Earth ko attract nahi karti\"\n],\ncorrect: 2,\nexplanation: \"Earth bahut massive hai, isliye gravitational attraction ke bawajood ball ki taraf uski movement practically negligible hoti hai.\"\n},\n\n{\nquestion: \"3. Activity 7.1 mein heavy ball ko sand ke upar se drop karne par sand mein depression kyun banta hai?\",\noptions: &#91;\n\"A. Ball mein stored energy hoti hai jo impact par work karti hai\",\n\"B. Sand ball ko attract karti hai\",\n\"C. Ball ka temperature badh jata hai\",\n\"D. Sand ka mass kam ho jata hai\"\n],\ncorrect: 0,\nexplanation: \"Height par ball ke paas gravitational potential energy hoti hai. Girne par ye energy sand par work karti hai aur depression banati hai.\"\n},\n\n{\nquestion: \"4. Activity 7.1 mein agar ball ko 1 m aur 2 m ki height se drop kiya jaye, to sabse deep depression kab banega?\",\noptions: &#91;\n\"A. 1 m se drop karne par\",\n\"B. 2 m se drop karne par\",\n\"C. Dono mein same depression banega\",\n\"D. Ball ko ground par rakhne par\"\n],\ncorrect: 1,\nexplanation: \"Same ball aur same sand conditions mein greater height par ball ki gravitational potential energy zyada hoti hai. Isliye impact par deeper depression ban sakta hai.\"\n},\n\n{\nquestion: \"5. Kisi object ko Earth ki surface se greater height tak raise karne ke liye kya hota hai?\",\noptions: &#91;\n\"A. Less work required hota hai\",\n\"B. No work required hota hai\",\n\"C. More work required hota hai\",\n\"D. Work negative ho jata hai\"\n],\ncorrect: 2,\nexplanation: \"Object ko greater height tak lift karne ke liye gravitational force ke against more work karna padta hai. Ye work potential energy increase karta hai.\"\n},\n\n{\nquestion: \"6. Kisi object ko gradually height h tak raise karne ke liye applied force approximately kitna hota hai?\",\noptions: &#91;\n\"A. m\/h\",\n\"B. mg\",\n\"C. mh\",\n\"D. g\/h\"\n],\ncorrect: 1,\nexplanation: \"Object ko gradually raise karte waqt, negligible acceleration ki condition mein applied force gravitational force ke equal hota hai, yani F = mg.\"\n},\n\n{\nquestion: \"7. Agar mass m ke object ko height h tak raise kiya jaye, to uski gravitational potential energy kya hogi?\",\noptions: &#91;\n\"A. U = mh\",\n\"B. U = mg\",\n\"C. U = mgh\",\n\"D. U = m\/g\"\n],\ncorrect: 2,\nexplanation: \"Gravitational potential energy ka formula U = mgh hai, jahan m = mass, g = gravitational acceleration aur h = reference level se height.\"\n},\n\n{\nquestion: \"8. Ek 2 kg object ko 5 m ki height tak raise kiya gaya. Agar g = 10 m\/s\u00b2 ho, to uski potential energy kitni hogi?\",\noptions: &#91;\n\"A. 20 J\",\n\"B. 50 J\",\n\"C. 100 J\",\n\"D. 200 J\"\n],\ncorrect: 2,\nexplanation: \"Formula: U = mgh. U = 2 \u00d7 10 \u00d7 5 = 100 J. Isliye correct answer 100 Joule hai.\"\n},\n\n{\nquestion: \"9. Gravitational potential energy ka SI unit kya hai?\",\noptions: &#91;\n\"A. Newton\",\n\"B. Watt\",\n\"C. Joule\",\n\"D. Pascal\"\n],\ncorrect: 2,\nexplanation: \"Potential energy ka SI unit Joule (J) hai, jo work done aur kinetic energy ka bhi SI unit hai.\"\n},\n\n{\nquestion: \"10. Object ko height h tak raise karne mein kiya gaya work kis mein appear hota hai?\",\noptions: &#91;\n\"A. Change in potential energy\",\n\"B. Change in mass\",\n\"C. Change in temperature only\",\n\"D. Change in volume\"\n],\ncorrect: 0,\nexplanation: \"Object ko height tak raise karne mein gravitational force ke against kiya gaya work uski gravitational potential energy mein increase ke roop mein store hota hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n          ${opt}\n        &lt;\/label>\n      `).join('')}\n    &lt;\/div>\n\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n  userAnswers&#91;currentQuestion] =\n    selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n\n      let cls = \"\";\n\n      if (i === correct) {\n        cls = \"correct\";\n      }\n\n      if (selected === i &amp;&amp; selected !== correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n    }).join('');\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n\n      &lt;div class=\"options\">\n        ${optsHTML}\n      &lt;\/div>\n\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n\n      &lt;hr>\n    `;\n\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML = `\n    &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n    &lt;p>${score >= 8 ? \"Excellent Performance! \ud83c\udf89\" :\n       score >= 5 ? \"Good Attempt! Keep Practising.\" :\n       \"Keep Learning and Try Again!\"}&lt;\/p>\n  `;\n}\n\nfunction saveScore(name, score) {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join('');\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;title>\ud83e\udde0 Science Quiz \u2013 Potential Energy and Conservation of Mechanical Energy&lt;\/title>\n&lt;style>\n  body {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n  }\n  .quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n  }\n  h2 { text-align: center; color: #1e3c72; }\n  .question { font-weight: bold; margin: 10px 0; }\n  .options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n  }\n  .options label:hover { background: #f0f0f0; }\n  .correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n  }\n  .wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n  }\n  .explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n  }\n  .controls { text-align: center; margin-top: 15px; }\n  button {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n  }\n  button:hover { background-color: #1e3c72; }\n  #scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n  }\n  #scoreboard h3 { text-align: center; }\n  ol { padding-left: 20px; }\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n&lt;div class=\"quiz-container\">\n  &lt;h2>\ud83e\udde0 Science Quiz \u2013 Potential Energy and Conservation of Mechanical Energy&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Example 7.7 mein cricket ball ka mass 200 g aur maximum height 10 m hai. Agar g = 10 m\/s\u00b2 ho, to maximum height par ball ki potential energy kitni hogi?\",\n    options: &#91;\"A. 2 J\", \"B. 10 J\", \"C. 20 J\", \"D. 200 J\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. 20 J&lt;br>200 g = 0.2 kg. Formula: U = mgh = 0.2 \u00d7 10 \u00d7 10 = &lt;b>20 J&lt;\/b>.\"\n  },\n  {\n    question: \"2. Agar koi object Earth ki surface ke paas horizontal direction mein constant velocity se move kare, to uski gravitational potential energy mein kya change hoga?\",\n    options: &#91;\"A. Increase hogi\", \"B. Decrease hogi\", \"C. Zero ho jayegi\", \"D. Change nahi hogi\"],\n    correct: 3,\n    explanation: \"Correct Answer: D. Change nahi hogi&lt;br>Horizontal motion mein object ki height same rehti hai, isliye mgh ke according potential energy change nahi hoti.\"\n  },\n  {\n    question: \"3. Agar kisi object ko gradually vertical direction mein upar raise kiya jaye, to uski gravitational potential energy kya hogi?\",\n    options: &#91;\"A. Increase hogi\", \"B. Decrease hogi\", \"C. Constant rahegi\", \"D. Zero ho jayegi\"],\n    correct: 0,\n    explanation: \"Correct Answer: A. Increase hogi&lt;br>Height increase hone par U = mgh ke according gravitational potential energy bhi increase hoti hai.\"\n  },\n  {\n    question: \"4. Work done against which force potential energy ke form mein energy store nahi karta?\",\n    options: &#91;\"A. Gravitational force\", \"B. Electric force\", \"C. Magnetic force\", \"D. Frictional force\"],\n    correct: 3,\n    explanation: \"Correct Answer: D. Frictional force&lt;br>Gravitational, electric aur magnetic forces ke against work potential energy store kar sakta hai, lekin friction ke against work energy ko stored potential energy ke form mein nahi rakhta.\"\n  },\n  {\n    question: \"5. Kinetic energy aur potential energy ka sum kya kehlata hai?\",\n    options: &#91;\"A. Thermal energy\", \"B. Mechanical energy\", \"C. Chemical energy\", \"D. Electrical energy\"],\n    correct: 1,\n    explanation: \"Correct Answer: B. Mechanical energy&lt;br>Mechanical Energy = Kinetic Energy + Potential Energy.\"\n  },\n  {\n    question: \"6. Ek object ko height h par point A se rest position se drop kiya gaya. Point A par uski kinetic energy kya hogi?\",\n    options: &#91;\"A. mgh\", \"B. \u00bdmgh\", \"C. Zero\", \"D. 2mgh\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. Zero&lt;br>Object ko rest se drop kiya gaya hai, yani initial velocity u = 0. Isliye point A par kinetic energy zero hai.\"\n  },\n  {\n    question: \"7. Point A par height h par rest mein rakhe object ki mechanical energy kya hogi?\",\n    options: &#91;\"A. Zero\", \"B. \u00bdmgh\", \"C. mgh\", \"D. 2mgh\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. mgh&lt;br>Point A par KE = 0 aur PE = mgh. Isliye mechanical energy = 0 + mgh = &lt;b>mgh&lt;\/b>.\"\n  },\n  {\n    question: \"8. Jab object freely fall karta hai, to uski potential energy aur kinetic energy mein kya change hota hai?\",\n    options: &#91;\"A. PE increase aur KE decrease\", \"B. PE decrease aur KE increase\", \"C. Dono decrease\", \"D. Dono constant\"],\n    correct: 1,\n    explanation: \"Correct Answer: B. PE decrease aur KE increase&lt;br>Falling ke during height decrease hoti hai, isliye PE decrease hoti hai. Lost PE kinetic energy mein convert hoti hai, isliye KE increase hoti hai.\"\n  },\n  {\n    question: \"9. Free fall ke during agar koi other external force act nahi kar raha ho, to object ki mechanical energy kya hoti hai?\",\n    options: &#91;\"A. Continuously increase hoti hai\", \"B. Continuously decrease hoti hai\", \"C. Constant rehti hai\", \"D. Zero ho jati hai\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. Constant rehti hai&lt;br>Jab sirf gravitational force act karta hai, to potential energy ka loss kinetic energy ke gain ke equal hota hai. Isliye total mechanical energy conserved rehti hai.\"\n  },\n  {\n    question: \"10. Ek object height h se freely fall karta hai. Uski lost potential energy kis form mein convert hoti hai?\",\n    options: &#91;\"A. Chemical energy\", \"B. Electrical energy\", \"C. Kinetic energy\", \"D. Nuclear energy\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. Kinetic energy&lt;br>Falling ke time gravitational potential energy decrease hoti hai aur wahi energy object ki kinetic energy mein convert hoti hai. Isi principle ko conservation of mechanical energy kehte hain.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n  if (!userName) return alert(\"Please enter your name.\");\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n          ${opt}\n        &lt;\/label>\n      `).join('')}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">${q.explanation}&lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected\n    ? parseInt(selected.value)\n    : null;\n}\n\nfunction submitQuiz() {\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) score++;\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join('');\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join('');\n}\n&lt;\/script>\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part10<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Conservation of Mechanical Energy&lt;\/title>\n&lt;style>\n  body {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n  }\n  .quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n  }\n  h2 { text-align: center; color: #1e3c72; }\n  .question { font-weight: bold; margin: 10px 0; }\n  .options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n  }\n  .options label:hover { background: #f0f0f0; }\n  .correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n  }\n  .wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n  }\n  .explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n  }\n  .controls { text-align: center; margin-top: 15px; }\n  button {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n  }\n  button:hover { background-color: #1e3c72; }\n  #scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n  }\n  #scoreboard h3 { text-align: center; }\n  ol { padding-left: 20px; }\n&lt;\/style>\n&lt;\/head>\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n  &lt;h2>\ud83e\udde0 Science Quiz \u2013 Conservation of Mechanical Energy&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Activity 7.2 mein simple pendulum ke bob ko point P par le jaakar release kiya jata hai. Point P par bob ke paas kaunsi energy hoti hai?\",\n    options: &#91;\n      \"A. Only kinetic energy\",\n      \"B. Only potential energy\",\n      \"C. No energy\",\n      \"D. Only sound energy\"\n    ],\n    correct: 1,\n    explanation: \"Point P par bob extreme position par momentarily rest mein hota hai, isliye uski kinetic energy zero aur potential energy mgh hoti hai.\"\n  },\n  {\n    question: \"2. Activity 7.2 mein pendulum bob ke bottom-most point Q par potential energy ko zero maana gaya hai. Q par bob ke paas mainly kaunsi energy hoti hai?\",\n    options: &#91;\n      \"A. Kinetic energy\",\n      \"B. Potential energy\",\n      \"C. Chemical energy\",\n      \"D. Nuclear energy\"\n    ],\n    correct: 0,\n    explanation: \"Q par bob ki height minimum hoti hai, isliye PE zero hai aur bob maximum speed ke paas hota hai, so kinetic energy hoti hai.\"\n  },\n  {\n    question: \"3. Pendulum bob jab opposite extreme point R par pahunchta hai, to uski kinetic energy kya hoti hai?\",\n    options: &#91;\n      \"A. Maximum\",\n      \"B. Half\",\n      \"C. Zero\",\n      \"D. Infinite\"\n    ],\n    correct: 2,\n    explanation: \"Extreme point R par bob momentarily stop karta hai, isliye uski kinetic energy zero hoti hai.\"\n  },\n  {\n    question: \"4. Activity 7.2 mein bob point P se release hone ke baad point R par approximately same height tak kyun pahunchta hai?\",\n    options: &#91;\n      \"A. Mass increase ho jata hai\",\n      \"B. Mechanical energy conserved rehti hai\",\n      \"C. Gravity disappear ho jati hai\",\n      \"D. Air resistance energy provide karta hai\"\n    ],\n    correct: 1,\n    explanation: \"Ideal condition mein potential energy aur kinetic energy ek-doosre mein convert hoti hain, lekin total mechanical energy constant rehti hai.\"\n  },\n  {\n    question: \"5. Real life mein pendulum eventually stop kyun ho jata hai?\",\n    options: &#91;\n      \"A. Gravity completely stop ho jati hai\",\n      \"B. Bob ka mass decrease ho jata hai\",\n      \"C. Friction aur air resistance ki wajah se energy loss hota hai\",\n      \"D. Potential energy continuously increase hoti hai\"\n    ],\n    correct: 2,\n    explanation: \"Support par friction aur air resistance mechanical energy ko other forms mein transfer karte hain, isliye pendulum ki oscillations gradually decrease hoti hain.\"\n  },\n  {\n    question: \"6. Conservation of mechanical energy ka use real-life problems mein kyun useful ho sakta hai?\",\n    options: &#91;\n      \"A. Ye mass ko automatically calculate karta hai\",\n      \"B. Ye intermediate motion ke detailed steps ko avoid karke final speed ya position find karne mein help karta hai\",\n      \"C. Ye friction ko hamesha zero karta hai\",\n      \"D. Ye gravity ko remove karta hai\"\n    ],\n    correct: 1,\n    explanation: \"Energy conservation se hum directly initial aur final mechanical energy compare karke final speed ya position nikal sakte hain.\"\n  },\n  {\n    question: \"7. Example 7.8 mein child height h ke slide ke top par hai. Agar friction ko neglect karein, to bottom par child ki potential energy ka kya hota hai?\",\n    options: &#91;\n      \"A. Entirely kinetic energy mein convert hoti hai\",\n      \"B. Entirely chemical energy mein convert hoti hai\",\n      \"C. Zero energy mein convert hoti hai\",\n      \"D. Mass mein convert hoti hai\"\n    ],\n    correct: 0,\n    explanation: \"Friction neglect karne par mechanical energy conserved rehti hai. Top ki mgh potential energy bottom par kinetic energy \u00bdmv\u00b2 ban jati hai.\"\n  },\n  {\n    question: \"8. Height h se slide karne wale child ki bottom par velocity v ke liye kaunsa relation correct hai?\",\n    options: &#91;\n      \"A. v = gh\",\n      \"B. v = \u221a(2gh)\",\n      \"C. v = 2gh\",\n      \"D. v = \u221a(gh\/2)\"\n    ],\n    correct: 1,\n    explanation: \"Energy conservation se \u00bdmv\u00b2 = mgh. Isse v\u00b2 = 2gh, therefore v = \u221a(2gh).\"\n  },\n  {\n    question: \"9. Example 7.8 ke according, friction ko neglect karne par child ki bottom velocity kis factor par depend karti hai?\",\n    options: &#91;\n      \"A. Sirf slide ki height h par\",\n      \"B. Sirf child ke mass par\",\n      \"C. Slide ke shape par\",\n      \"D. Child ke mass aur slide ke shape dono par\"\n    ],\n    correct: 0,\n    explanation: \"v = \u221a(2gh) mein child ka mass cancel ho jata hai aur slide ka shape bhi matter nahi karta. Velocity sirf height h par depend karti hai.\"\n  },\n  {\n    question: \"10. Do children same height h se different-shaped slides par friction ko neglect karte hue slide karte hain. Unki bottom par speed kya hogi?\",\n    options: &#91;\n      \"A. Different hogi because slides different hain\",\n      \"B. Same hogi if their starting conditions are the same\",\n      \"C. Heavier child ki speed hamesha zyada hogi\",\n      \"D. Lambi slide wale child ki speed zero hogi\"\n    ],\n    correct: 1,\n    explanation: \"Conservation of mechanical energy ke according bottom speed v = \u221a(2gh) hoti hai. Same height aur same starting condition par slide ka shape aur mass speed ko affect nahi karte.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\nlet quizSubmitted = false;\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n            ${userAnswers&#91;currentQuestion] == i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">${q.explanation}&lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n  if (quizSubmitted) return;\n\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  quizSubmitted = true;\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join(\"\");\n}\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part11<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Work, Energy and Escape Ramp Quiz \u2013 APICAL CLASSES&lt;\/title>\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 10px 0; line-height: 1.6; }\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct { background-color: #c8f7c5 !important; border-color: #28a745 !important; }\n.wrong { background-color: #f8d7da !important; border-color: #dc3545 !important; }\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n  line-height: 1.6;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n.brand {\n  text-align: center;\n  color: #1e3c72;\n  font-weight: bold;\n  margin-top: 15px;\n}\n&lt;\/style>\n&lt;\/head>\n&lt;body>\n&lt;div class=\"quiz-container\">\n  &lt;h2>\ud83e\udde0 Work, Energy and Escape Ramp Quiz&lt;\/h2>\n  &lt;div class=\"brand\">APICAL CLASSES&lt;\/div>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Escape ramp ka main purpose kya hota hai?\",\n    options: &#91;\n      \"A. Trucks ki speed increase karna\",\n      \"B. Brake fail hone par truck ko safely stop karna\",\n      \"C. Truck ka fuel save karna\",\n      \"D. Truck ko highway par wapas bhejna\"\n    ],\n    correct: 1,\n    explanation: \"Escape ramps sand ya gravel se filled inclined planes hote hain jo brake failure ke case mein moving truck ko stop karne mein help karte hain.\"\n  },\n  {\n    question: \"2. Example 7.9 mein truck ka mass kitna hai?\",\n    options: &#91;\n      \"A. 1,000 kg\",\n      \"B. 5,000 kg\",\n      \"C. 10,000 kg\",\n      \"D. 20,000 kg\"\n    ],\n    correct: 2,\n    explanation: \"Question mein truck ka mass 10,000 kg diya gaya hai.\"\n  },\n  {\n    question: \"3. Truck ki initial speed 72 km\/h hai. Is speed ko m\/s mein convert karne par kya value milegi?\",\n    options: &#91;\n      \"A. 10 m\/s\",\n      \"B. 15 m\/s\",\n      \"C. 20 m\/s\",\n      \"D. 25 m\/s\"\n    ],\n    correct: 2,\n    explanation: \"72 km\/h \u00d7 5\/18 = 20 m\/s.\"\n  },\n  {\n    question: \"4. Truck ki initial kinetic energy kitni hai, jab uska mass 10,000 kg aur speed 20 m\/s hai?\",\n    options: &#91;\n      \"A. 200,000 J\",\n      \"B. 1,000,000 J\",\n      \"C. 2,000,000 J\",\n      \"D. 4,000,000 J\"\n    ],\n    correct: 2,\n    explanation: \"KE = \u00bdmv\u00b2 = \u00bd \u00d7 10,000 \u00d7 20\u00b2 = 2,000,000 J.\"\n  },\n  {\n    question: \"5. Escape ramp ka inclination kitna diya gaya hai?\",\n    options: &#91;\n      \"A. 15\u00b0\",\n      \"B. 30\u00b0\",\n      \"C. 45\u00b0\",\n      \"D. 60\u00b0\"\n    ],\n    correct: 1,\n    explanation: \"Example mein escape ramp 30\u00b0 inclined hai.\"\n  },\n  {\n    question: \"6. 30\u00b0 inclined ramp ke liye truck ramp par har 2 m travel karne par vertically kitna height gain karta hai?\",\n    options: &#91;\n      \"A. 0.5 m\",\n      \"B. 1 m\",\n      \"C. 2 m\",\n      \"D. 4 m\"\n    ],\n    correct: 1,\n    explanation: \"Given hint ke according, truck ramp par 2 m travel karta hai to uski vertical height 1 m increase hoti hai.\"\n  },\n  {\n    question: \"7. Truck ke brakes fail hone ke baad sand truck ki motion ke opposite kitna force lagati hai?\",\n    options: &#91;\n      \"A. 10,000 N\",\n      \"B. 20,000 N\",\n      \"C. 50,000 N\",\n      \"D. 100,000 N\"\n    ],\n    correct: 2,\n    explanation: \"Question mein sand ka opposing force 50,000 N diya gaya hai.\"\n  },\n  {\n    question: \"8. Escape ramp par aane ke baad truck finally kis state mein pahunchta hai?\",\n    options: &#91;\n      \"A. Maximum speed par\",\n      \"B. Constant speed par\",\n      \"C. Rest mein\",\n      \"D. Reverse direction mein moving\"\n    ],\n    correct: 2,\n    explanation: \"Escape ramp ka purpose truck ko stop karna hai, isliye final kinetic energy zero hoti hai.\"\n  },\n  {\n    question: \"9. Example 7.9 mein truck ko stop karne ke liye minimum ramp length kitni honi chahiye?\",\n    options: &#91;\n      \"A. 10 m\",\n      \"B. 15 m\",\n      \"C. 20 m\",\n      \"D. 40 m\"\n    ],\n    correct: 2,\n    explanation: \"Initial kinetic energy 2,000,000 J hai. Gravity ke against aur sand ke friction ke against energy use hoti hai, jisse calculation se minimum ramp length 20 m milti hai.\"\n  },\n  {\n    question: \"10. Example 7.9 mein conservation of mechanical energy ka use karne ka main advantage kya hai?\",\n    options: &#91;\n      \"A. Truck ka mass change karna\",\n      \"B. Intermediate motion ke detailed steps ke bina stopping distance find karna\",\n      \"C. Sand ka force zero karna\",\n      \"D. Gravity ko ignore karna\"\n    ],\n    correct: 1,\n    explanation: \"Conservation of mechanical energy se initial aur final energy compare karke truck ki required ramp length directly find ki ja sakti hai.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n  if (!userName) return alert(\"Please enter your name.\");\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">${q.explanation}&lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) score++;\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n      if (i === correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">${q.explanation}&lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join(\"\");\n}\n&lt;\/script>\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part12<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;title>\ud83e\udde0 Science Quiz \u2013 Potential Energy and Conservation of Mechanical Energy&lt;\/title>\n&lt;style>\n  body {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n  }\n  .quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n  }\n  h2 { text-align: center; color: #1e3c72; }\n  .question { font-weight: bold; margin: 10px 0; }\n  .options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n  }\n  .options label:hover { background: #f0f0f0; }\n  .correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n  }\n  .wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n  }\n  .explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n  }\n  .controls { text-align: center; margin-top: 15px; }\n  button {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n  }\n  button:hover { background-color: #1e3c72; }\n  #scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n  }\n  #scoreboard h3 { text-align: center; }\n  ol { padding-left: 20px; }\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n&lt;div class=\"quiz-container\">\n  &lt;h2>\ud83e\udde0 Science Quiz \u2013 Potential Energy and Conservation of Mechanical Energy&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Example 7.7 mein cricket ball ka mass 200 g aur maximum height 10 m hai. Agar g = 10 m\/s\u00b2 ho, to maximum height par ball ki potential energy kitni hogi?\",\n    options: &#91;\"A. 2 J\", \"B. 10 J\", \"C. 20 J\", \"D. 200 J\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. 20 J&lt;br>200 g = 0.2 kg. Formula: U = mgh = 0.2 \u00d7 10 \u00d7 10 = &lt;b>20 J&lt;\/b>.\"\n  },\n  {\n    question: \"2. Agar koi object Earth ki surface ke paas horizontal direction mein constant velocity se move kare, to uski gravitational potential energy mein kya change hoga?\",\n    options: &#91;\"A. Increase hogi\", \"B. Decrease hogi\", \"C. Zero ho jayegi\", \"D. Change nahi hogi\"],\n    correct: 3,\n    explanation: \"Correct Answer: D. Change nahi hogi&lt;br>Horizontal motion mein object ki height same rehti hai, isliye mgh ke according potential energy change nahi hoti.\"\n  },\n  {\n    question: \"3. Agar kisi object ko gradually vertical direction mein upar raise kiya jaye, to uski gravitational potential energy kya hogi?\",\n    options: &#91;\"A. Increase hogi\", \"B. Decrease hogi\", \"C. Constant rahegi\", \"D. Zero ho jayegi\"],\n    correct: 0,\n    explanation: \"Correct Answer: A. Increase hogi&lt;br>Height increase hone par U = mgh ke according gravitational potential energy bhi increase hoti hai.\"\n  },\n  {\n    question: \"4. Work done against which force potential energy ke form mein energy store nahi karta?\",\n    options: &#91;\"A. Gravitational force\", \"B. Electric force\", \"C. Magnetic force\", \"D. Frictional force\"],\n    correct: 3,\n    explanation: \"Correct Answer: D. Frictional force&lt;br>Gravitational, electric aur magnetic forces ke against work potential energy store kar sakta hai, lekin friction ke against work energy ko stored potential energy ke form mein nahi rakhta.\"\n  },\n  {\n    question: \"5. Kinetic energy aur potential energy ka sum kya kehlata hai?\",\n    options: &#91;\"A. Thermal energy\", \"B. Mechanical energy\", \"C. Chemical energy\", \"D. Electrical energy\"],\n    correct: 1,\n    explanation: \"Correct Answer: B. Mechanical energy&lt;br>Mechanical Energy = Kinetic Energy + Potential Energy.\"\n  },\n  {\n    question: \"6. Ek object ko height h par point A se rest position se drop kiya gaya. Point A par uski kinetic energy kya hogi?\",\n    options: &#91;\"A. mgh\", \"B. \u00bdmgh\", \"C. Zero\", \"D. 2mgh\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. Zero&lt;br>Object ko rest se drop kiya gaya hai, yani initial velocity u = 0. Isliye point A par kinetic energy zero hai.\"\n  },\n  {\n    question: \"7. Point A par height h par rest mein rakhe object ki mechanical energy kya hogi?\",\n    options: &#91;\"A. Zero\", \"B. \u00bdmgh\", \"C. mgh\", \"D. 2mgh\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. mgh&lt;br>Point A par KE = 0 aur PE = mgh. Isliye mechanical energy = 0 + mgh = &lt;b>mgh&lt;\/b>.\"\n  },\n  {\n    question: \"8. Jab object freely fall karta hai, to uski potential energy aur kinetic energy mein kya change hota hai?\",\n    options: &#91;\"A. PE increase aur KE decrease\", \"B. PE decrease aur KE increase\", \"C. Dono decrease\", \"D. Dono constant\"],\n    correct: 1,\n    explanation: \"Correct Answer: B. PE decrease aur KE increase&lt;br>Falling ke during height decrease hoti hai, isliye PE decrease hoti hai. Lost PE kinetic energy mein convert hoti hai, isliye KE increase hoti hai.\"\n  },\n  {\n    question: \"9. Free fall ke during agar koi other external force act nahi kar raha ho, to object ki mechanical energy kya hoti hai?\",\n    options: &#91;\"A. Continuously increase hoti hai\", \"B. Continuously decrease hoti hai\", \"C. Constant rehti hai\", \"D. Zero ho jati hai\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. Constant rehti hai&lt;br>Jab sirf gravitational force act karta hai, to potential energy ka loss kinetic energy ke gain ke equal hota hai. Isliye total mechanical energy conserved rehti hai.\"\n  },\n  {\n    question: \"10. Ek object height h se freely fall karta hai. Uski lost potential energy kis form mein convert hoti hai?\",\n    options: &#91;\"A. Chemical energy\", \"B. Electrical energy\", \"C. Kinetic energy\", \"D. Nuclear energy\"],\n    correct: 2,\n    explanation: \"Correct Answer: C. Kinetic energy&lt;br>Falling ke time gravitational potential energy decrease hoti hai aur wahi energy object ki kinetic energy mein convert hoti hai. Isi principle ko conservation of mechanical energy kehte hain.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n  if (!userName) return alert(\"Please enter your name.\");\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n          ${opt}\n        &lt;\/label>\n      `).join('')}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">${q.explanation}&lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected\n    ? parseInt(selected.value)\n    : null;\n}\n\nfunction submitQuiz() {\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) score++;\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join('');\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join('');\n}\n&lt;\/script>\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part13<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part14<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch7 part15<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ch7 part1<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5504","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5504"}],"version-history":[{"count":2,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5504\/revisions"}],"predecessor-version":[{"id":5506,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5504\/revisions\/5506"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}