At what points along the line joining them is the potential zero?
[Homework Help Home] function default_numbers() { document.physics.q1.value = 3 document.physics.q2.value = 3 document.physics.d.value = 0.004 } function fix(x) { var xstr,i,d, e, pot, res; xstr = x.toString(); e = xstr.indexOf(“e”); if (e == -1) pot = “”; else pot = xstr.substring(e); if (xstr.charAt(0) == “.”) return(Number(xstr.substring(0,3))); d = xstr.indexOf(“.”); if (d == -1) return(Number(x)); if (xstr.charAt(d+1) == “0”) d++; while(xstr.charAt(d) == “0”) d++; d += 2; if (e > 0 && d >= e) d = e-1; res = xstr.substring(0,d+1) + pot; return(Number(res)); } function check() { var q1 = Number(document.physics.q1.value) var q2 = Number(document.physics.q2.value) var d = Number(document.physics.d.value) var TheWindow; if (q1 10) { document.physics.q1.select(); alert(“The “+q1+” you typed is out of range.\n\nIt must be between 0.01 \mu C and 10 \mu C.\n\nIts box above has been highlighted, so you can correct it.”); document.physics.q1.focus(); return; } if (q2 10) { document.physics.
Related Questions
- Im using C++ and the distance between the closest pair is zero even when n is small since there are two identical points. Should that be happening?
- What has been learned about the avalanches that took out the section of line and the potential for similar problems in the future?
- At what points along the line joining them is the potential zero?