Printing values of array from an object
What's the simplest way to print a Java array?
Could someone with experience in using these exercise typesetting packages please offer a quick compare and contrast of these packages to help me choose?  Packages under consideration are:         Having read briefly the documentation, they all seem to do the same thing generally, so could you please focus on the differences?  Some differences will not be obvious until I've learnt and used all the different packages but I want to better appreciate the differences now, a priori. Space between 2 paths in Illustrator How could a statement be true without proof? Godel`s incompleteness theorem states that there may exist true statements which have no proofs in a formal system of particular axioms. Here I have two questions; 1) How can we say that a statement is true without a proof? 2) What has the self reference to do with this? Godel sentence "G" can say that SUB(a,a, no prove) but could be this just arbitrarily judgement about non-provability of "a" because it may simply has a proof which is not yet revealed or discovered? Is a   select *  from myView   faster than the query itself to create the view (in order to have the same resultSet):  select * from ([query to create same resultSet as myView])   ?  It's not totally clear to me if the view uses some sort of caching making it faster compared to a simple query. Reasons not to use a 741 op-amp? Value of momentum of a particle in 1D box prepared in a particular state? What is the value of momentum of particle in 1D box in state $\sin(10\pi x/a)$? My understanding Standing waves representing particle in 1D box is not an momentum eigenstate so if we measure the momentum of particle in this state we may get any value of momentum which gives a distribution whose expectation value tends to zero. Answer key In the answer key it's given that the value of momentum is 5h/a and -5h/a.If we measure the momentum for this state we may get any of these two values.But is this a wrong reasoning because if these was the case,these should mean that 5h/a and -5h/a are the eigenvalue of the following wavefunction which is clearly not. What is the correct answer? In particular, when $x=y=z$ isn't the above expression equal to 1 and not -1? Notification that ‘someone might be watching what you browse’ Given that $a,b,c$ are distinct positive real numbers, prove that $(a + b +c)\big( \frac1{a}+ \frac1{b} + \frac1{c}\big)&gt;9$   This is how I tried doing it:  Let $p= a + b + c,$ and $q=\frac1{a}+ \frac1{b} + \frac1{c}$.  Using AM>GM for $p, q$, I get:  $$\frac{p+q}{2} &gt; {(pq)}^{1/2}$$ $$\sqrt{(a + b +c)\bigg(\frac1{a}+ \frac1{b} + \frac1{c}\bigg)} &lt; \frac{\big(a+\frac1{a} + b+\frac1{b} + c+\frac1{c}\big)}2$$ And for any $x\in \mathbb{R}, \space \space x+\frac1{x}≥2.$ Thus,   $$(a + b +c)\bigg(\frac1{a}+ \frac1{b} + \frac1{c}\bigg)&lt;9, $$ which is the opposite of what had to be proven. What did I do wrong? How can change in cost function be positive? In  it says     To make gradient descent work correctly, we need to choose the learning rate η to be small enough that Equation (9) is a good approximation. If we don't, we might end up with $\Delta C&gt;0$, which obviously would not be good! At the same time, we don't want $\eta$ to be too small, since that will make the changes $\Delta v$ tiny, and thus the gradient descent algorithm will work very slowly. In practical implementations, $\eta$ is often varied so that Equation (9) remains a good approximation, but the algorithm isn't too slow. We'll see later how this works.   But just a few paragraphs before we established that $\Delta C\approx−\eta\nabla C⋅\nabla C=−\eta\|\nabla C\|^2$ is obviously always negative (for positive $\eta$). So how can $\Delta C$ be positive if we don't choose a small enough learning rate? What is meant there? What is the best way to identify outliers in multivariate data? Suppose I have a large set of multivariate data with at least three variables. How can I find the outliers? Pairwise scatterplots won't work as it is possible for an outlier to exist in 3 dimensions that is not an outlier in any of the 2 dimensional subspaces.  I am not thinking of a regression problem, but of true multivariate data. So answers involving robust regression or computing leverage are not helpful.  One possibility would be to compute the principal component scores and look for an outlier in the bivariate scatterplot of the first two scores. Would that be guaranteed to work? Are there better approaches? If you are not satisfied with answers on someone else's question, should you ask your own? Suppose you had a question, and you really want a good answer that would solve your problem, but noticed it was already asked by someone else. Now, a lot of answers had been posted and upvoted, and maybe one was accepted. However, none of the answers solved your problem. The system does not promote the question very much because it is not considered "unanswered", and a lot of users who would otherwise bother to give a correct answer will probably skip the question completely as there are already many highly-voted answers.  Now, what should you do in this case?  One idea is to ask a new, completely identical question, but now you're in control to decide when it is answered. But would that go against SE policy? How do I set up my LaTeX document to enable me to cite from my BibTeX bibliography? This may be an overly simplistic question but please bear with me...  I have a BibTeX bibliography containing all of my references, set up using BibDesk. I am now trying to cite these references in my LaTeX documents. Following the advice on the LaTeX wikibooks page, I have included the following lines into my LaTeX document...  \bibliographystyle{plain} \bibliography{/Users/Graeme/Documents/References/BIBliography.bib}   ... where BIBliography is my .bib file, created in BibDesk.  Unfortunately, when I cite something in the document, using \cite{citekey} and typeset the document, the log tells me that there were undefined references. In the .pdf that is produced, there is a [?] where the references should be.  Am I doing something wrong? Do I need to store my .bib for in a particular location? I know there can be some errors that mean you need to typeset the document several times, but I have tried countless times to no avail.  I would be very grateful if someone could help out. The actual period of a pendulum at 90°. Looking for the correct formula Do you have access to any scientific experiment which gives the period of a pendulum when the angle is $90^\circ$:     says $T$ varies to about $18\%$ up to $90^\circ,$ so for a seconds pendulum the complete period would be roughly $2.36.$    I d'like to know the ratio at $90^\circ$ with a good approximation, and the span it can vary in relation to air friction, if the bob  is not massive.  Also, I'd like to know the max. speed of the bob at $P_0$ and how it compares with the speed of same ball sliding without friction on a circular surface, would it be the same?      What I am trying to understand here is rather complex, I'll try to explain:  If the block is placed on an air-track or other frictionless surface, the block would acquire a certain speed, momentum and KE in the opposite direction, right? same amount of momentum is lost by the bob and we can find speed loss.    Isn't the same amount of speed lost by the bob when it is attached to a pendulum?  Is this an important factor or may be the most important factor (more relevant than air friction or friction at the pivot) for the increase of the period when the angle is greater than $30^\circ$?  I figured out that this factor can account for about one third of the $18\%$ increase, can you give a more accurate value?   What I am suggesting is that this (loss of horizontal momentum, which is made clear when the bob is not attached to a rod but slides on a block) is the most important factor that makes the actual period increase when the starting point deviates on the vertical direction. I learned that the force from a magnetic field does no work. However I was wondering how magnets can be used to pick up pieces of metal like small paperclips and stuff. I also was wondering how magnets can stick to pieces of metal like a refrigerator? How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04? I have some shares that are mounted during login. I used Users &amp; Groups' "Login Items" panel to do this. When I login, all of the shares pop up in their own Finder windows.  How can I keep the Finder windows from popping up at login? I've already tried checking the Hide checkbox. I am looking for a correct proof of this statement: If $G$ is a group such that $G/Z(G)$ is cyclic, then $G$ is commutative.  Proof: $G/Z(G)$ is isomorphic to $\operatorname{Inn}(G)$ and is cyclic, and then for every $a$ and $b$ in $G$ the inner isomorphisms $\gamma_a$ and $\gamma_b$ satisfy $\gamma_a \gamma_b = \gamma_{ab} = \gamma_{ba} = \gamma_b \gamma_a$, and therefore for every $a,b \in G$, $ab = ba$.  Is that proof complete, or am I missing something? Thanks a lot for the help. Scanner issue when using nextLine after nextXXX Inserting random numbers into a table in MYSQL