i want to clear my concept of alligation. a vessel is filled with liquid, 3 parts of which are water and 5 parts are syrup. how much of the mixture must be drawn of and replaced with water so that the mixture may be half water and half syrup?? ti i solved this question. and i got my correct answer 1/5...but i am confused how it works in allegation to get ratio of two elements using one elements in question??  like  i have used this method and got my ratio 5:1 but dont know how????? plz help....thanks
A vessel is filled with liquid,3 parts of which are water and 5 parts syrup.How much of the mixture must be drawn off and replaced with water so that the mixture may be half water and half syrup?  What is the best possible way to solve this question?
Exporting PDF with Hyperlinked Attributes from ArcMap? I'm using ArcGIS 10.1 and would like to export a map to a pdf, preserving feature's attributes. I would like to be able to identify, for example, a point feature from the map on pdf with its underlying features (essentially hyperlink to a document or URL). I know one can export to such a pdf in ArcMap, with an advanced option of exporting features with attributes. I use Adobe Acrobat Pro v.10, and cannot seem to be able to find a way to bring these attributes up.   Is this possible? Backup of clients' directory to Windows Server 2008 Javascript Date: next month sum of double precision gives weird results Show that  $$t(n) = 1 + \sum_{ j=0}^{n-1} t(j)$$  is the same as  $$t(n) = 2^n$$  Initial condition $t(0) = 1$ How can window snap be enabled in Openbox? I would like to have window snap behaviour in Openbox. For me, this would mean that dragging a window to the edge of the display using the mouse would change the size of the window such that it is docked in half or quarter of the display, as can be done in Unity7. How can this be done in Openbox? Why are there so many close votes to review and so few of the others? Stack Exchange API too many requests from this IP address How can I make it so that each space has its own isolated dock?  Basically what I'm looking for is:   The dock in one space should not show the icon of an app that was open in another space. If I have the same program open in two different spaces, clicking on the icon in one space should not go to the app in the other space.   Is this possible natively, or with a third party program? Find the cardinality of the quotient of $\mathbb R$ in respect to R R is an equivalence relation defined as $xRy \Leftrightarrow a - b$ is an integer.  What is the cardinality of the quotient of $\mathbb R$ in respect to R? How would you prove it?  I thought about a bijection between $[0,1)$ to the quotient of $\mathbb R$ in respect to R, but can't figure out to prove it formally. dpkg error: "trying to overwrite file, which is also in..." For example:  $ sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: bsh : Depends: libjline-java but it is not going to be installed groovy : Depends: libjline-java but it is not going to be installed rhino : Depends: libjline-java but it is not going to be installed E: Unmet dependencies.   Try 'apt-get -f install' with no packages (or specify a solution).   I get the same or similar errors when I attempt to install clojure1.3, leiningen, and several other packages.   When I try the suggestion made in the error message, this is what happens:  $ sudo apt-get -f install  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   diffstat linux-headers-3.2.0-26-generic linux-headers-3.2.0-26 dh-apparmor dkms html2text libmail-sendmail-perl libsys-hostname-long-perl Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   libjline-java Suggested packages:   libjline-java-doc The following NEW packages will be installed:   libjline-java 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 23 not fully installed or removed. Need to get 0 B/72.0 kB of archives. After this operation, 129 kB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 226243 files and directories currently installed.) Unpacking libjline-java (from .../libjline-java_1.0-1_all.deb) ... dpkg: error processing /var/cache/apt/archives/libjline-java_1.0-1_all.deb (--unpack):  trying to overwrite '/usr/share/java/jline.jar', which is also in package scala 2.9.2-400 Errors were encountered while processing:  /var/cache/apt/archives/libjline-java_1.0-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  $ sudo apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:  bsh : Depends: libjline-java but it is not installed  groovy : Depends: libjline-java but it is not installed  rhino : Depends: libjline-java but it is not installed E: Unmet dependencies. Try using -f. \xymatrix undefined count() returns a different amount than a simple select Could we please be a bit nicer to new users? There is a distinct decline in the level of civility on all the sites here.  Some of this is due to new users coming in and posting spam and other nonsense, but the off-topic and downvote buttons are doing a pretty good job of keeping this under control. Unfortunately, a lot of this is coming from more experienced users, and the site's built-in moderation system does not (and probably cannot) handle this very well.  Folks are rushing to pound new users down with &quot;this belongs on meta!&quot;, &quot;this is off topic&quot;, &quot;this is a duplicate!&quot; and &quot;read the Help!&quot;. (Which is correct, but should be done nicer) All this, of course, is accompanied by a flurry of downvotes.  This is not very welcoming to new users who don't know about meta, the Help, or what counts as off-topic. Now I am not proposing that we just allow off-topic, meta, or duplicate questions.  However, I think we could be gentler in the way we express these sorts of things.  Explain what meta and the FAQ are and provide useful links.  Just using please and thank-you when asking folks to read the FAQ or post something on meta would be an improvement.  I also think we could rein in the downvoting a bit.  Not that we shouldn't vote stuff down, but unless a new user's post is clearly spam, voting it down to -1 or -2 should be sufficient to send a message without piling on. I like Stack Exchange and I want it to become a resource for everyone, not just an elitist site for high-rep users on the sites. Returning anonymous functions from lapply - what is going wrong? How to install Unity 8? I'm using Ubuntu 14.04 and found out that we can install Unity 8 on it. Will Unity 8 replace Unity 7 once I install it? And if it does can I switch back to Unity 7 if I want? How would one go about it? First time using bevel tool, doesn't bevel evenly. What am i doing wrong? Help me understand Bayesian prior and posterior distributions In a group of students, there are 2 out of 18 that are left-handed. Find the posterior distribution of left-handed students in the population assuming uninformative prior. Summarize the results. According to the literature 5-20% of people are left-handed. Take this information into account in your prior and calculate new posterior.    I know the beta distribution should be used here. First, with $\alpha$ and $\beta$ values as 1? The equation I found in the material for posterior is   $$\pi(r \vert Y ) \propto r^{(Y +−1)} \times (1 − r)^{(N−Y +−1)} \\ $$  $Y=2$, $N=18$  Why is that $r$ in the equation? ($r$ denoting the proportion of left-handed people). It is unknown, so how can it be in this equation? To me it seems ridiculous to calculate $r$ given $Y$ and use that $r$ in the equation giving $r$. Well, with the sample $r=2/18$ the result was $0,0019$. The $f$ should I deduce from that?  The equation giving an expected value of $R$ given known $Y$ and $N$ worked better and gave me $0,15$ which sounds about right. The equation being $E(r | X, N, α, β) = (α + X)/(α + β + N)$ with value $1$ assigned to $α$ and $β$. What values should I give $α$ and $β$ to take into account prior information?  Some tips would be much appreciated. A general lecture on prior and posterior distributions wouldn't hurt either (I have vague understanding what they are but only vague) Also bear in mind I'm not very advanced statistician (actually I'm a political scientist by my main trade) so advanced mathematics will probably fly over my head. Asphericity of pseudo circle Let $S$ be de pseudo circle (see for instance ).  How can I compute its higher homotopy groups?  The question came up while trying construct a weak homotopy equivalence $X\to Y$ that does not admit an inverse. Taking $X=S^1$, $Y=S$ and $f$ as in the wikipedia page should work, but I was not able to work out a "simple" way of calculating $\pi_n(S)$ for $n&gt;1$. By "simple" I mean that it should not invoke a generalization of that I am trying to prove. I want to create a   How can I create a formfield with N fields, each 5 mm wide with separations like in the picture?    At the moment I use a workaround with a for loop, but this renders the code hard to maintain. Finally I need a function \formline{N}{cellwidth}{label}{value} to create the complete formfield and fill it with an optional value:   The following code is available on .   \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{shapes}  \thispagestyle{empty} % no pagenumber. The form should be a stand alone macro... later.  \definecolor{SEPAOrange}{RGB}{254,213,161} \definecolor{SEPADOrange}{RGB}{253,185,19} \definecolor{SEPABlindcolor}{RGB}{255,0,0} \begin{document} \begin{tikzpicture}[x=1 mm, y=-1mm] \pgfmathsetmacro{\yh}{4.2333} % y heigth step defined as 1/6 inch =&gt; 1/6 * 25.4 mm = 4.2333 mm \pgfmathsetmacro{\xs}{9} % x start (own definition) \pgfmathsetmacro{\xe}{141.5} % x end (own definition) \pgfmathsetmacro{\widefield}{4.9859} % def: 134.62 mm / 27 \pgfmathsetmacro{\narrowfiels}{3.9594} % def: 134.62 mm/ 34  \filldraw[draw=black,color=SEPAOrange] (7.62, 4.5*\yh) rectangle (149.86-7.62,105.83-1); %orange background  \filldraw[draw=black,color=white] (\xs, 5*\yh) rectangle (\xe, 6.5*\yh -1.5); %Recepient 27 Char \foreach \x in {1,...,26} {  \draw[color=SEPAOrange, line width=0.3mm] (7.62 + \x*\widefield, 5*\yh ) -- (7.62 + \x*\widefield, 6.5*\yh);  \draw[color=SEPAOrange, line width=0.7mm] (7.62 + \x*\widefield, 5.8*\yh ) -- (7.62 + \x*\widefield, 6.5*\yh); }  \filldraw[draw=black,color=white] (\xs, 7*\yh) rectangle (\xe, 8.5*\yh -1.5); %IBAN 34 Char \foreach \x in {1,...,33}  \draw[color=SEPAOrange, line width=0.3mm] (7.62 + \x*4, 7*\yh ) -- (7.62 + \x*4, 8.5*\yh);  \filldraw[draw=black,color=white] (\xs, 9*\yh) rectangle (\xe, 10.5*\yh -1.5); %BIC \filldraw[draw=black,color=white] (\xe-12*5, 11*\yh) rectangle (\xe, 12.5*\yh -1.5); %Value 12 Char  \filldraw[draw=black,color=white] (\xs, 13*\yh) rectangle (\xe, 14.5*\yh -1.5); %Subject1 \filldraw[draw=black,color=white] (\xs, 15*\yh) rectangle (\xe, 16.5*\yh -1.5); %Subject2 \filldraw[draw=black,color=white] (\xs, 17*\yh) rectangle (\xe, 18.5*\yh -1.5); %Subject3  \filldraw[draw=black,color=white] (\xs, 19*\yh) rectangle (\xs+22*5, 20.5*\yh -1.5); % IBAN 22 Char  \filldraw[draw=black,color=white] (149.86-17.59, 19* \yh) rectangle (\xe, 20.5*\yh -1.5); % counter \filldraw[draw=black,color=white] (\xs, 21* \yh) rectangle (42.52, 24.5*\yh); % date \filldraw[draw=black,color=white] (42.52+5, 21*\yh) rectangle (149.86-17.59, 24.5*\yh); % signature  \draw[color=SEPADOrange] (0, 4.5 *\yh) --(149.86, 4.5*\yh); upper dark orange line \draw[color=SEPADOrange] (0, 20.5 *\yh) --(149.86, 20.5*\yh); lower dark orange line \draw[draw=black,color=black, line width=0.3mm] (0,0) rectangle (149.86,105.83); % black border %\draw[align=left] at (\yh,\yh) {SEPA-Überweisung};  \end{tikzpicture} \end{document}