How to compute integral $\int_{-\infty}^\infty e^{-\frac{1}{2}x^2}dx$? I try to change it to polar coordinates but I have only one variable.   Thanks in advance!
Consider the following Gaussian Integral $$I = \int_{-\infty}^{\infty} e^{-x^2} \ dx$$  The usual trick to calculate this is to consider $$I^2 = \left(\int_{-\infty}^{\infty} e^{-x^2} \ dx \right) \left(\int_{-\infty}^{\infty} e^{-y^{2}} \ dy \right)$$  and convert to polar coordinates. We get $\sqrt{\pi}$ as the answer.   Is it possible to get the same answer by considering $I^{3}, I^{4}, \dots, I^{n}$?
What happens when a creature with "Whenever a creature dies" dies simultaneously with multiple other creatures? has the following ability:     Whenever a creature you control with a +1/+1 counter on it dies, return that card to the battlefield under your control at the beginning of the next end step.   I had a number of creatures on the battlefield, including Marchesa herself, with one or more +1/+1 counters on them when  was played, destroying each creature on the board.  When Marchesa and several other creatures would be killed simultaneously,   Does Marchesa's ability trigger for herself? Does Marchesa's ability trigger for the other creatures under my control with +1/+1 counters?   In attempting to resolve the issue, we tried to look things up, leading to , which cites Rule 603.6d as proving that Marchesa's ability should trigger both for herself and for each other creature with +1/+1 counters.  Unfortunately, none of us could actually understand Rule 603.6d, aside from this example:     Two creatures are on the battlefield along with an artifact that has the ability Whenever a creature dies, you gain 1 life. Someone plays a spell that destroys all artifacts, creatures, and enchantments. The artifacts ability triggers twice, even though the artifact goes to its owners graveyard at the same time as the creatures.   The example certainly seems analogous to me, but without understanding the actual rule, rather than just the example, we weren't too sure.  A complete answer has to not only answer the question, but back up that answer with citation and explanation of the official rules on the matter. How can I make a camera the active one? Is the distance function in a metric space (uniformly) continuous? Let $(X, d)$ be a metric space. Is the function $x\mapsto d(x, z)$ continuous? Is it uniformly continuous? I have a 2-D probability distribution along the lines of this plot:  I know how to find the confidence interval for a 1-D probability distribution (by the definition of standard deviation or the 68-95-99 rule) but I don't know how to generalize that to 2-D to get a confidence region. I've been looking at Principle Component Analysis and covariance matrices, but most explanations or examples are for a 2D distribution of random vectors rather than a probability distribution so I'm not quite sure how to generalize it. How would I find the 1-$\sigma$/2-$\sigma$ regions for a 2D probability distribution? Edit: The question that was linked in the duplicate message refers to random vectors, whereas what I have is a probability distribution from data, with a continuous 2-D probability function as opposed to random vectors. As such, I cannot find the covariance matrix between two vectors because I DO NOT HAVE TWO VECTORS, and therefore cannot apply the process described in the linked question. If I were to analogize to 1-D, my issue is the difference between the standard deviation for a random distribution of samples, $\sigma=\sqrt{\frac{1}{N}\sum (x_{i}-\bar{x})^{2}}$, and the standard deviation for a probability distribution $\sigma=\sqrt{\sum (x_{i}-\bar{x})^{2}P(x_{i})}$. As far as I can tell, the method involving the covariance matrix is a generalization of the former. I need a generalization of the latter. If I'm wrong in my understanding, please let me know, but I don't think the other question gives me what I need. How can I use std::maps with user-defined types as key? Which is correct: "has died" or "died"? How do I make a 2D game resolution independent? I added textures to a minecraft character, but I realized I forgot the holes for the eyes. So I used a boolean modifier to make the holes, but it was unsuccessful. The holes appear except the texture wrap becomes messy and doesn't go around my character properly.  Without Boolean modifier   With Boolean modifier What's the difference between the nvidia-current, and nvidia-current-updates packages? What's the difference between the , and  packages?  The former has a higher version number, and the description of the packages are the same.    Which do I use? Which is the most recent one What's the purpose of this split packaging? I connected an external screen to my laptop, but my desktop didn't automagically extend to it, as it used to do about a year ago (older version of Ubuntu).  I went to the display settings. The screen was listed there (correct resolution, brand name, etc.). But when i put the switch on 'on' and click 'apply', i get this error:   Failed to apply configuration: %s  GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface `org.gnome.SettingsDaemon.XRANDR_2' on object at path /org/gnome/SettingsDaemon/XRANDR   It's been like this for a few months now, but i'd really like to be able to use an external screen/beamer again.  Any ideas?  Thanks. How would I identify what's causing my Mac to permanently hang on shutdown? Whenever I try to shutdown or reboot my Mac (Macbook Pro 15" Retina late 2013, OS X 10.11.3) it closes all programs like normal and then it goes into that black screen with the progress bar. When it gets to about halfway it permanently hangs and won't ever finish rebooting. I looked at the log viewer and couldn't find anything in particular. Is there a way to monitor a shutdown more closely and find out what's causing it to get stuck? Let $R$ be a simple ring and $T$ be a non-zero ring. Let $f\colon R \rightarrow T$ be a ring homomorphism. Show $f$ is injective.  Proof: $\ker f \lhd R$, so $\ker f=R$ or $\ker f=\{0\}$. If $\ker f=R$ then $R/R \cong \{0\}$, but $T \neq \{0\}$, which is a contradiction. I can't see why does the last part means contradiction.   Thanks for any assistance! Modify TikZ coil decoration Can I modify the existing tikz coil decoration, so that the downstrokes are not drawn in a certain interval, to produce a picture like this?    Edit: Previous attempts, code and MWE has been moved to or superseded by my own answer. Plot points:   I think the man was one-armed or had one damaged/withered arm. He is an artist when we meet him. He's picked up by aliens to represent earth in a galactic armada. Put in a ship with other aliens only there so a representative of their species can be said to be present - but not expected to actually contribute much to the coming fight. Fight is to protect against invaders from another galaxy. Somehow or other, their ship and crew become integral to winning the war. Cat 5/6 in same conduit as power: is NM-B required, or is THHN acceptable? Preface: I'd like to avoid the question of whether one should run data and power together; my question is focused on Code compliance.  I'm trying to ensure I interpret Code correctly when running Cat 5/6 cabling and power together in the same conduit.  For starters, I understand that nothing in Code prohibits one from doing this; I'm trying to ensure I understand how to do it properly.  I'm wiring a basement office for power and data, and I'll be running the electrical in EMT.  My plan was to pull THHN for the power rather than pull NM-B, but then 800.133(2) Exception 1 made me scratch my head.  Is my understanding of the Article that if I want to run both data (Cat6) and power in the same conduit, that the power needs to be sheathed (i.e. NM-B).  Is it unacceptable to pull individual THHN conductors and the Cat6 together in the same conduit?     800.133 2) Other Applications. Communications wires and cables shall be separated at least 50 mm (2 in.) from conductors of any electric   light, power, Class 1, non–power-limited fire alarm, or medium-power   network-powered broadband communications circuits.      Exception No. 1: Where either (1) all of the conductors of the   electric light, power, Class 1, non–power-limited fire alarm, and   medium-power network-powered broadband communications circuits are in   a raceway or in metal-sheathed, metal-clad, nonmetallic-sheathed, Type   AC, or Type UF cables, or (2) all of the conductors of communications   circuits are encased in raceway. What are the automorphisms acting on $Q\sqrt[3]{2}$ that fixes Q? LINQ on a LinkedList - iterate over LinkedListNode, not T I'm trying to understand the use of super(). From the looks of it, both child classes can be created, just fine.   I'm curious to know about the actual difference between the following 2 child classes.  class Base(object):     def __init__(self):         print "Base created"  class ChildA(Base):     def __init__(self):         Base.__init__(self)  class ChildB(Base):     def __init__(self):         super(ChildB, self).__init__()  ChildA()  ChildB() Mod of numbers with large exponents [modular order reduction] Is there any explanation for why the other 2 schools in the TriWizard tournament are both single-gender, unlike Hogwarts?  Was single-gender education normal in wizarding world with Hogwarts being the exception?  Was this some special intentional literary trick on Rowling's part or on movie creators'?    Here's the evidence from the movies:  Durmstrang Institute is boys-only:    Beauxbatons Academy of Magic seems to be an all-girl school: