The formula for magnetic field density is B^2/2mu. How to prove it?
I was looking for a derivation of the expression for the energy density at any point in a static magnetic field. I do know that it is  $$u_B=\dfrac {1}{2 \mu_0}\left|\mathbf{B}\right|^2,$$ I was just wondering if there was a derivation that could be built up the way one derives the energy density, $$u_E=\dfrac {\epsilon_0}{2}\left|\mathbf{E}\right|^2$$ at any point in an electric field, by considering the energy needed to build up a 'source' charge bit by infinitesimal bit.  Whatever proof I have come across seems to bring inductance into the picture -- is there a way of doing it without that? I ask because the corresponding proof for the electric field does not seem to need the definition of capacitance anywhere.
If $f,g : [a,b] \to (0,\infty)$ are continuous functions, prove that there exists $c \in (a,b)$ such that: $$\int_{a}^{c} f(x) \ \mathrm dx = \int_{c}^{b} g(x) \ \mathrm dx$$ Stopping users voting multiple times on a website I'm planning to add some vote up/vote down buttons to a website I run. This seems easy enough but I want to stop people voting multiple times. One solution would be to make them register before allowing them to vote but I'd prefer not to have to force them to register.   Is there are a reasonably straightforward way of doing this? Checking the IP address doesn't seem like a good solution, since it's possible that multiple users may come from the same IP address.   Cookies might be the answer, but a savvy user could delete the cookie. Any better ideas? OK...before everyone blasts this with references to the relativistic invariance of the physical laws, time dilation, etc let me add some context. Also, I am an amateur with an interest in physics, so I don't know the details of the physics. However, I have read enough about the cosmological principle and cosmic time to develop this "confusion" .  Based on evidence gathered to-date, it appears that the universe is both , as evidenced by observations and the . This principle, when combined with the FLRW metric, allows space-time to be divided into non-intersecting slices and therefore establish a "cosmic time."   Now, the existance of such a time in no way suggests that it is the "right" time or a true "now", hence violating relativity -- although some presentist philosophers (e.g., W.L. Craig) have tried to make this argument, but it is not generally accepted in philosophical circles.  However, this leaves me confused about an apparent disconnect between relativity and the cosmological principle:  Isotropy only holds if we are at rest relative to the cosmic microwave background radiation (universal rest frame), o/w anisotropy is present - yet each reference frame is supposed to allow equally valid observations. How can these two be reconciled when most reference frames would lead us to conclude that the universe is NOT isotropic?  It seems that only by appealing to the idea of being at rest relative to "universal rest frame" can we explain away any discrepancies from isotropy as due to "peculiar motion". However, doesn't this give this "universal rest frame" and its associated time an empirically privileged status, even though physical laws work just fine in every reference frame?   For example (pardon any abuse of astronomy): if look off in some part of space and see only quasars, and then in another part of space and see only brown dwarfs, but I measure both as apparently the same distance from me, then can I conclude that we are in motion, since otherwise we would have an empirical contradiction (kind of like finding dinosaur and human remains in the same strata)?  Any help on where I am going wrong would be helpful. Intuitively, I don't think there should be a way to establish absolute ordering between space-like separated events, but the above reasoning suggests otherwise. What is the direction of stack growth in most modern systems? I am preparing some training materials in C and I want my examples to fit the typical stack model.  What direction does a C stack grow in Linux, Windows, Mac OSX (PPC and x86), Solaris, and most recent Unixes? I engaged with some enemy NPCs, and accidentally shot a civilian in the head (though not sure it would've mattered if I hit them somewhere else or not) as they ran across my screen. As a result of this, I was alerted by the game that the NCPD (the police) were automatically en route to 'investigate', and that I could avoid them by leaving the area and &quot;lying low for a while&quot;. How long does it take for the police to stop searching for me, and is there any kind of visual information on the HUD that alerts me to when NCPD is or is no longer looking for me? Fibonacci Sequence and series limits 1) Let $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \geq 3$.   How do you prove that  $$\sum_{n=2}^\infty \frac1{F_{n-1} F_{n+1}} = 1$$   $$\sum_{n=2}^\infty \frac{F_n}{F_{n-1} F_{n+1}} = 1$$   Do you even use the formula $n(n+1)/2$?   I tried using $F_{n-1} = F_n - F_{n-2}$ and $F_{n+1} = F_n + F_{n-1}$ and then trying to figure out how to substitute those, but I've been going around in circles. How would you solve this? What tips can you give me to solve this? Is there any website that teaches this? I tried searching google and youtube but none were helpful.   2) Let $s_x = \tan(2/x)$. Where does this become nonincreasing? While using monotonic limits to establish there is a limit.   I was guessing you need to use upperbound and lowerbound but doesn't it go to infinity? I am thinking of moving my extensive eBook library to iBooks or Kindle. Has anyone done this, and what does it take?  I just don't want book libraries in multiple proprietary formats, and have to look for content across apps. ISP blocking port 25 My ISP has started blocking port 25 so I can not send email through my dedicated server any more.   I have several options:   Send email through the SMTP server provided by my ISP. Any problems with this? Setup mu server so that it receives email on another port instead of port 25     No one else sends email through my server so it should be OK. How do I do this on a Linux server? Buy a static client IP - these are not being blocked so far.   Which one is preferable? Is there any cryptographic algorithm immune to side channel attacks based on scan chain? In VLSI point of view. Is there a more complete way of proving this theorem (that I devised)? OR does this theorem already exist and have a name? Last night, I was working on re-solidifying my understanding of parametric equations, and came up with a neat trick for evaluating certain definite integrals. I'm not sure if it exists as a formal theorem, though I refuse to believe I'm the first to notice such a relation. The 'theorem' is a useful trick to evaluate the definite integral of a continuous function over an interval where the function is either strictly increasing or strictly decreasing, given that the inverse of the function is 'nicer' to work with than the function itself. My idea goes as follows:  If $y = f(x)$ is a continuous function over the interval $I$, and either:  $f'(x) &gt; 0$   OR   $f'(x) &lt; 0$   for all values of $x \epsilon I$, then:  $\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  where $a,b \epsilon I$  Quasi-proof:  Clearly, if a function is strictly increasing or decreasing, it is injective. This is clear because no two values in the domain can correspond to a single value in the range. I feel intuitively that it must also be surjective (though I'm not entirely sure how to prove this part). Assuming it is both injective and surjective over $I$, the function must have an inverse.   If we were to draw two rectangles out of our bounds, they will have areas:  $af(a)$ and $bf(b)$, so that   $bf(b) - af(a)$ will be the area of the region we are observing.  This area is equivalent to the sum of the areas connecting the curve $f(x)$ to the $x$-axis and to the $y$-axis. Thus:  $bf(b) - af(a) = \int_{a}^{b}{f(x)dx} + \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  Solving for $\int_{a}^{b}{f(x)dx}$, we get:  $\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  A particularly illuminating example is evaluating:  $\int_{a}^{b}{ln(x)dx}$  $ln(x)$ is strictly increasing over any interval, so the 'theorem' applies.  $\int_{a}^{b}{ln(x)dx} = bln(b) - aln(a) - \int_{ln(a)}^{ln(b)}{e^xdx}$  $\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) - (e^{ln(b)} - e^{ln(a)})$  $\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) + a - b$  and so we've evaluated the integral without the need of integrating the function itself (by method of integration by parts), but rather by integrating its inverse, which is trivial to evaluate.!  Response to Jason DeVito's answer: [This image was taken from   () Android - How to change color of an ScrollView/ListView Overscroll?(see Desc. for example) Very strange error suddenly appeared running Biber I am on a Mac with MacTex 2020 and ran into a strange problem with Biber. Working on a document all was fine, I did not change the bibliography (says my git) and only fixing typos (not even adding cites) and suddenly latexmk stopped working after a Biber run, while that looked like  INFO - This is Biber 2.14 INFO - Logfile is 'doc.blg' INFO - Reading 'doc.bcf' INFO - Found 31 citekeys in bib section 0 INFO - Processing section 0 INFO - Globbing data source 'literature.bib' INFO - Globbed data source 'literature.bib' to literature.bib INFO - Looking for bibtex format file 'literature.bib' for section 0 INFO - LaTeX decoding ... INFO - Found BibTeX data source 'literature.bib'   so harmless in my view. Then with --debug I additionally get in the end.  INFO - LaTeX decoding ... warning: overriding existing definition of macro "jun" warning: overriding existing definition of macro "jul" warning: overriding existing definition of macro "sep" warning: overriding existing definition of macro "jan" [...] warning: overriding existing definition of macro "nov" INFO - Found BibTeX data source 'literature.bib' Unicode::UCD: failed to find unicore/version in /var/folders/hm/gt63cn0j2r7bwbzw7c1hww1r0000gn/T/par-626572676d616e6e/cache-2f8a664c3c933a44d096bcc8d018a5e92bced897/inc/lib /var/folders/hm/gt63cn0j2r7bwbzw7c1hww1r0000gn/T/par-626572676d616e6e/cache-2f8a664c3c933a44d096bcc8d018a5e92bced897/inc CODE(0x7fd026aeb5a8) CODE(0x7fd026aebb90) at /var/folders/hm/gt63cn0j2r7bwbzw7c1hww1r0000gn/T/par-626572676d616e6e/cache-2f8a664c3c933a44d096bcc8d018a5e92bced897/inc/lib/Biber/Input/file/bibtex.pm line 1011.   It seems unrelated to the library itself since deleting a few entries (going through deleting one half, then the other), the problem persists. It does not happen for an empty literature, but as soon as a first entry is added (just author/journal/title/year/volume/pages - no utf8-only chars) this error message appears.  what does this last error message mean?  How can I solve this? Pre & post increment operator behavior in C, C++, Java, & C# return eats exception I found the following behavior at least weird:  def errors():     try:         ErrorErrorError     finally:         return 10  print errors() # prints: 10 # It should raise: NameError: name 'ErrorErrorError' is not defined   The exception disappears when you use return inside a finally clause. Is that a bug? Is that documented anywhere?  But the real question (and the answer I will mark as correct) is: What is the python developers' reason to allow that odd behavior? Pull Down Resistors In my quest to understand electrical engineering, I have stumbled across this tutorial:    I have understood the diagrams until I got to switches. I am not sure how switches work on the breadboard or the diagrams. This is the specific one I am thinking of (this is of a pull down resistor):    The implementation is:    Based on the diagram, what I think is happening is: Power goes to the switch, if the button is up then the circuit is not completed. If the button is pressed then the current takes the path of least resistance to pin2 because it has more pull (100ohm &lt; 10kohm).  The way it is described in the tutorial sounds like when the button is up, the circuit is still complete, but the 10k ohm resistor pulls the power to the ground. I am not positive how or why if both the 10k ohm and 100ohm are receiving equal current, the current would get pulled to the ground through a higher resistance than is open to pin 2. Can a Filipino citizen with no Korean visa with a long layover in Seoul take the airport free city tour? I am a Filipino citizen traveling from Saipan to Manila via Seoul, with 13 hours layover.  Do I need a Korean visa to take the airport free city tour? On iOS 7, there is a feature under Cellular in Settings called: Use Cellular Data For:. This lists all of the apps I have on my iPhone 4 with individual On/Off Switches to disable or enable cellular data. So, I disable it on several of my apps, one of which being Music. When I open my Music app, it tells me…     Cellular Data is Turned Off for "Music"   You can turn on cellular data for this app in Settings.   This alert does not occur once, but every time I clear the Music app from my multitasking and re-open it. Is there a way to dismiss this alert once and forever?  The alert looks something like this, but for Music: Using Windows 10, I can't run certain commands from PowerShell but they all work correctly using cmd. PowerShell: node --version: node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + node --version + ~~~~     + CategoryInfo          : ObjectNotFound: (node:String) [], CommandNotFoundException     + FullyQualifiedErrorId : CommandNotFoundException  node.exe --version: no output. node.exe: opens a new black console (node.exe application itself). Get-Host | Select-Object Version: Version ------- 5.1.19041.906  Get-Command node: The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Get-Command node + ~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (node:String) [Get-Command], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand Get-Command node.exe: CommandType Name Version Source ----------- ---- ------- ------ Application node.exe 14.16.1.0 C:\Program Files\nodejs\node.exe $env:Path output has nodejs &amp; git &amp; other paths. cmd: everything works fine with any command. I have git and nodejs in my PATH env variable. What's wrong with PowerShell, what a strange behavior is this and how to fix it? What does "All things X" mean? I've seen the expression in some company names; for example , .  Is the expression "All things X" a parody of some other popular phrase, or does it have its own meaning? Or is it just a misuse of grammar? Word for someone who pays attention to details