How to set up Windows 10 partiton on Ubuntu?
How can I create a Windows bootable USB stick using Ubuntu?
Python Argument Binders How can I bind arguments to a Python method to store a nullary functor for later invocation?  Similar to C++'s boost::bind.  For example:  def add(x, y):     return x + y  add_5 = magic_function(add, 5) assert add_5(3) == 8 While watching  play for the gold medal in London 2012, I noticed Williams was going about her business while Sharapova was grunting each time she hit the ball.  After doing some , grunting in tennis dates back to 1962. Although men grunt, women draw more attention due to their high-pitched grunts. In addition, there is an initiative to eliminate excess grunts in the next generation of tennis players.  Another quote from said research says:     "I have not found in my 32 years anybody who says grunting or not   grunting has an empirically positive or negative effect on performance   -- it's all about belief system."   What is this "belief system?"  If grunting is not related to performance, why do tennis players do it excessively? Apple Loops Copyright Launch iOS app from sites Can we add functionality to the mobile site to view the page in the SE iOS app? It could be through  or a link at the bottom where the download link is.        I really don't care which, but right now there's just no way to do it. I have this problem as part of a school assignment:  NOTE: In case it's hard to read in the image above, here's the directory tree: $ tree . `-- sample_dir1     `-- sample_dir         |-- admin         |-- cambridge         |   |-- cafeteria         |   |-- library         |   `-- security         |       |-- annex         |       |-- building         |       `-- parking         |-- faculty         |-- history.exe         |-- markham         |   |-- annex         |   |-- building1         |   `-- parking         |-- oxford         |   |-- outline.doc         |   |-- programming         |   |   `-- report.pdf         |   `-- security         `-- stenton             |-- gen_ed             `-- lib_arts                 |-- english.txt                 `-- match.doc  15 directories, 11 files  I tried doing the command: $ cp ../cambridge/security/parking ./parking2  ...but it isn't working. The question in the image above states that the current directory is stenton, and that we need to make a copy of the file named parking (from the security directory), and to name the new file parking2, and place it in the current directory, stenton, using relative pathnames. What am I doing wrong? My cp command seems to be correct. Why are place names in some old books a capital letter followed by dashes, and what is this phenomenon called? This is something very odd I have noticed in some older books, most recently in "Crime and Punishment" by Dostoyevsky.  Place names, when not specifically essential or well-known, are made up of one letter followed by a line of underscores (i.e. "X_____").  I think I recall reading something similar in another older work, possibly by Jane Austin?  Apologies if this is a duplicate; I've searched quite extensively and can't seem to figure it out.  I don't know a name for this, so can't search easily for it. The following question is on my homework assignment that I cannot figure out:     Let U and V be independent random variables, each having a normal distribution with mean zero and variance one. Find the moment generating function of the random variable W = UV .   I have looked around online, and cannot find an answer to this question. In fact, the only answers I can find that even relate to the product of standard normal random variables are using techniques that we never covered in my class. We covered in class how to find the MGF for linear combinations of random variables, by W isn't linear, its a product of two normals. So that technique won't work.   What am I supposed to do? I am completely at a loss. I have tried multiplying the MGFs of U and V together, but that leaves me with something ugly that I can't reduce. Difference between "git add -A" and "git add ." The command git add [--all|-A] appears to be identical to git add .. Is this correct? If not, how do they differ? Plurals of acronyms, letters, numbers — use an apostrophe or not? I know roughly and informally what a confidence interval is.  However, I can't seem to wrap my head around one rather important detail:  According to Wikipedia:     A confidence interval does not predict that the true value of the parameter has a particular probability of being in the confidence interval given the data actually obtained.     I've also seen similar points made in several places on this site.  A more correct definition, also from Wikipedia, is:     if confidence intervals are constructed across many separate data analyses of repeated (and possibly different) experiments, the proportion of such intervals that contain the true value of the parameter will approximately match the confidence level   Again, I've seen similar points made in several places on this site.  I don't get it.  If, under repeated experiments, the fraction of computed confidence intervals that contain the true parameter $\theta$ is $(1 - \alpha)$, then how can the probability that $\theta$ is in the confidence interval computed for the actual experiment be anything other than $(1 - \alpha)$?  I'm looking for the following in an answer:   Clarification of the distinction between the incorrect and correct definitions above. A formal, precise definition of a confidence interval that clearly shows why the first definition is wrong. A concrete example of a case where the first definition is spectacularly wrong, even if the underlying model is correct. How do I get a slanted \sum symbol? I want to use a slanted \sum symbol denoting a different meaning from summation. How do I get a slanted \sum symbol? Can the real and imaginary parts of $\dfrac{\sin z}z$ be simplified? I have calculated the real and imaginary parts of $\dfrac{\sin z}z.$ I've obtained  $$\begin{eqnarray} \frac{\sin z}z&amp;=&amp;\frac{\sin(x+iy)}{(x+iy)}\\ &amp;=&amp; \frac{\sin(x)\cosh(y)+i\cos(x)\sinh(y)}{x+iy}\\ &amp;=&amp; \frac{x\sin(x)\cosh(y)+y\cos(x)\sinh(y)}{x^2+y^2}+i\frac{x\cos(x)\sinh(y)-y\sin(x)\cosh(y)}{x^2+y^2}. \end{eqnarray}$$  Before calculating it, I hoped I could use this in a solution to a certain problem, but I would need to differentiate the real and imaginary parts of $\dfrac{\sin z}z$ with regard to $x$ and $y$. But what I'm getting is very complicated. I understand that it could be that that's just the way it is. But maybe there are some simplifications to be done either in the functions or in their derivatives? I've never really used hyperbolic functions before so I'm not sure I'm not missing something.  Added. The problem I'm working on is the following.     Prove that the solutions of the equation $$\tan z=z$$ are all real.   I will sketch the solution I know here.  It can be calculated that  $$\tan(x+iy)=\frac{\sin(2x)}{\cos(2x)+\cosh(2y)}+i\frac{\sinh(2y)}{\cos(2x)+\cosh(2y)}.$$  Plugging this to the equation, we get  $$\begin{eqnarray} x&amp;=&amp;\frac{\sin(2x)}{\cos(2x)+\cosh(2y)}\\ y&amp;=&amp;\frac{\sinh(2y)}{\cos(2x)+\cosh(2y)}. \end{eqnarray}$$  From this we can get   $$\sin(2x)\cdot2y=\sinh(2y)\cdot2x.$$  By plotting the functions $\sin,$ $\mathrm{id}$ and $\sinh$ (and proving the right inequalities we can see from the plots), we can see that this is only possible when $xy=0$. But when we plug $x=0$ to the second equation, we can show that the only solution is $y=0$, which ends the proof.  What strikes me in this solution is the fact that $\dfrac{\sin z}z$ is used. (Not explicitly in my statement.) This function has another connection to the problem:     The non-zero solutions of the equation $\tan z=z$ are exactly the zeros of the derivative of $\dfrac{\sin z}z.$   This is easy to prove. I wondered if there shouldn't be a solution to the problem which uses this fact, given that $\dfrac{\sin z}z$ appears in the solution I know. If an elephant can apply 250N force and a rabbit can apply 25N force , and if they are pulling each other , then elephant will pull with 250N force and according to newtons third law the rabbit should also pull the elephant with 250N force.then from where do the rabbit got the extra 225N i.e.(250-25=225) force??? can anyone please explain. I really hope someone will take a quick look at the following, I would just love to better understand it...  This exercise is from Arnold's "Mathematical Methods of Classical Mechanics", p. 97 in the chapter on d'Alemberts principle:  A rod of weight P, tilted at an angle of 60° to the plane of a table, begins to fall with initial velocity zero. Find the constraint force of the table at the initial moment, considering the table as  (a) absolutely smooth  (b) absolutely rough  (In the first case, the holonomic constraint holds the end of the rod on the plane of the table, and in the second case, at a given point.)"      I must admit, I am pretty unsure on how to do calculations using this "fancy" mathematical kind of physics.  First off, I'm lost with (a). But I'll have a go at (b): As far as I understood, d'Alemberts principle states, that if $M$ is a constraining manifold, $x(q)$ is a curve in $M$ and $\xi$ is a vector perpendicular to $T_xM$, then $x$ satisfies Lagrange's equations  $\frac{d}{dt} \frac{\partial L}{\partial \dot q} = \frac{\partial L}{\partial q} \qquad L = \frac{{\dot x}^2}{2} - U(x)$  iff for the following inner product, we have  $\left(m \ddot x + \frac{\partial U}{\partial x}, \xi \right) = 0$  I guess that's about right so far? The constraint would in this case essentially be $\mathbb S^1$, since the rod moves on a circe around the point in contact with the table. Can we assume that all the rod's mass is at the center of mass?  Would we then have $U(x) = -gx_2$ in this case (where $x_2$ is the vertical component of $x$)?  If yes, then $\partial U / \partial x = -ge_2$. Where $e_1, e_2$ are the horizontal and vertical unit vectors, respectively.  At the inital moment, we have $x = \cos(60°) e_1 + \sin(60°) e_2$, so by d'Alembert's principle we must have  $\left(m \ddot x + \frac{\partial U}{\partial x}, \cos(60°) e_1 + \sin(60°) e_2 \right) = 0$  or written differently  $m \ddot {x_1} \cos(60°) + m \ddot{x_2} \sin(60°) - \sin(60°)g = 0$    So: Is this correct so far? Or am I way off? Is (a) handled any differently up to this point?  Thanks for reading (and hopefully thanks for your helpful reply)!  If anyone could recommend a good problem book (with solutions), in which this kind of mathematical approach is used (I don't know if this is how physicists would actually compute stuff??), I would greatly appreciate it.  Kind regards,  Sam When is R squared negative? My understanding is that $R^2$ cannot be negative as it is the square of R. However I ran a simple linear regression in SPSS with a single independent variable and a dependent variable. My SPSS output give me a negative value for $R^2$. If I was to calculate this by hand from R then $R^2$ would be  positive. What has SPSS done to calculate this as negative?   R=-.395 R squared =-.156 B (un-standardized)=-1261.611   Code I've used:  DATASET ACTIVATE DataSet1.  REGRESSION /MISSING LISTWISE /STATISTICS COEFF OUTS R ANOVA             /CRITERIA=PIN(.05) POUT(.10) /NOORIGIN             /DEPENDENT valueP /METHOD=ENTER ageP   I get a negative value. Can anyone explain what this means? How to call a parent class function from derived class function? I already derived a QM expectation value for ordinary momentum which is: $$ \langle p \rangle=  \int\limits_{-\infty}^{\infty} \overline{\Psi}  \left(- i\hbar\frac{d}{dx}\right) \Psi \, d x $$ And I can read clearly that operator for momentum equals $\widehat{p}=- i\hbar\frac{d}{dx}$. Is there an easy way to derive an expectation value for $\langle p^2 \rangle$ and its QM operator $\widehat{p^2}$? I have an unlocked North American (Canada) iPhone 5s, where can I buy a data only SIM card in Japan ? I'm not interested in renting nor in a voice plan, I'll be staying for 4 weeks.  I'll be landing in Tokyo, so preferably around there. Can I get them from the airport somewhere ? I'm assuming I won't have problems with the network/frequencies, am I correct ? What should be in the sources.list for Kali Rolling Linux? This is exact content from my sources.list:  #  # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free   I couldn't install the Synaptic package manager and was told to modify sources.list.  I googled a lot and added some repos into it and ran update and upgrade command only to see Kali crash... I had to recover it.  Please mention the exact content that should be there to ensure that Kali Linux works. Immutability of Strings in Java