Unresolved external symbol error related class with template
Why can templates only be implemented in the header file?
Evaluating the sum after reordering an infinite series $1-\frac {1} {2}+\frac {1} {3}-\frac {1} {4}+\ldots $ If in the series  $1-\dfrac {1} {2}+\dfrac {1} {3}-\dfrac {1} {4}+\ldots $ the order of the terms be altered, so that the ratio of the number of positive terms to the number of negative terms in the first $n$ terms is ultimately $a^{2}$, show that the sum of the series will become $\log \left( 2a\right) $.  Solution attempt. Let $p$ be the number of positive terms in the first $n$ terms of the reordered series so based on the question we are allowed $a^{2}=\dfrac {p} {n-p}$. Now solving for p we get $p=\dfrac {a^{2}n} {\left( 1+a^{2}\right) }$ and $n-p=\dfrac {n } {\left( 1+a^{2}\right) }$.  We also observe that in the original series only the odd terms are positive and only the even terms are negative.  Let's define $S_{odd}=1+\dfrac {1} {3}+\dfrac {1} {5}+.\ldots +\dfrac {1} {2n-1}$ and $S_{even}=\dfrac {-1} {2}\dfrac {-1} {4}\ldots -\dfrac {1} {2n}$  $S_{Reordered}=S_{odd_{p}}+S_{even_{n-p}}$  $S_{Reordered}=\sum _{t=1}^{t=P}\dfrac {1} {2t-1}+\sum _{t=1}^{t=(n-P)}\dfrac {-1} {2t}$ $S_{Reordered}=\sum _{t=1}^{t=\dfrac {a^{2}n} {\left( 1+a^{2}\right) }}\dfrac {1} {2t-1}+\sum _{t=1}^{t=\dfrac {n } {\left( 1+a^{2}\right) }}\dfrac {-1} {2t}$    In order to extend $S_{Reordered}$ from n terms to an infinite length. I guess i should take the limit of the $S_{Reordered}$ as $n\rightarrow \infty $ which would make the upper values of $t$ (Not sure of technical term here) to be $\infty$ giving me   $S_{Reordered}=\sum _{t=1}^{t=\infty}\dfrac {1} {2t-1}+\sum _{t=1}^{t=\infty}\dfrac {-1} {2t}$   and i have lost the $a$ from the expression. I guess i am stuck i need to perform some step to capture a before taking the limit. Any help would be much appreciated. Showing that $G/(H\cap K)\cong (G/H)\times (G/K)$ Why does exclamation mark within double quotes cause a Bash error? Please look at these commands:  $ notify-send SYNC TIME! $ notify-send 'SYNC TIME!' $ notify-send "SYNC TIME!" bash: !": event not found $   The first two commands produce a notification bubble as expected. The third gives the error shown.  and  $ echo SYNC TIME! SYNC TIME! $ echo 'SYNC TIME!' SYNC TIME! $ echo "SYNC TIME!" bash: !": event not found $   Here as well, the echo works for first two commands but not in the third.  More problems here (although I was not planning on using this): both notify-send "SYNC!TIME" and echo "SYNC!TIME" give bash: !TIME": event not found.  But both notify-send and echo work with "SYNC! TIME"  Can someone please explain why the bash: !": event not found error appears? Many researchers list out their submitted manuscripts on their website. Some specify the journal name, like     Smith J, Oliver J (under review) My awesome paper. Nature.   while others don't, like     Smith J, Oliver J (under review) My awesome paper.   One reason I can think of as to why some don't mention the journal name is that they may get embarrassed in the case where the current journal rejects the paper. Then, the "circle" will know this paper gets rejected from Nature first and then ends up in an inferior journal.  Besides this, are there any other considerations preventing people from mentioning to which journal they submit a paper to?  P.S.: I am asking because my advisor is a researcher who only mentions accepted  papers on his webpage. As a student hunting jobs, I feel it is advantageous for me to mention my submitted papers on my webpage. I hesitate to do so, as I worry I may make my advisor unhappy by announcing in which journal our papers are currently under review. Since version 3.2, uTorrent displays ADs in the form of a "Featured Torrent" banner and a small square advertising in the sidebar. Is there a way to disable those? Find this integral $$\operatorname I=\int\limits_{0}^{1}\dfrac{\arcsin{\sqrt{x}}}{x^4-2x^3+2x^2-x+1}\operatorname d\!x$$  My try: let $$f(x)=x^4-2x^3+2x^2-x+1$$ I found  $$f(1-x)=(1-x)^4-2(1-x)^3+2(1-x)^2-x+1=x^4-2x^3+2x^2-x+1=f(x)$$ so $$I=\int_{0}^{1}\dfrac{\arcsin{\sqrt{(1-x)}}}{x^4-2x^3+2x^2-x+1}dx$$ so $$2I=\int_{0}^{1}\dfrac{\arcsin{\sqrt{x}}+\arcsin{\sqrt{(1-x)}}}{x^4-2x^3+2x^2-x+1}dx$$ then I can't,Thank you very much How can I open a cmd window in a specific location? How can I open a cmd window in a specific location without having to navigate all the way to the directory I want? Installing PHP 5.3 in Ubuntu 14.04 I've just installed Ubuntu 14.04 and am trying to install php 5.3. But when I run   apt-get install php5    it's installing php 5.5.9-1ubuntu4. I need to use php 5.3 in the system because the application I'm working on is built with php 5.3.   How can I achieve this? Do I need a Turkey transit visa for a layover? I have an Indian passport and am planning to visit Germany with a valid visa. To book a flight for Germany (Mumbai – Dusseldorf), I came across some connected flights that stop at Istanbul.  Do I need to have visa for Turkey?  This is the first time I am travelling outside my country, and any information on this will be helpful. Switching to different font size(s) locally Evaluate $\lim\limits_{x\to 1}\frac{\sqrt x-x^2 }{1-\sqrt x}$ Can anyone come up with an explicit example of two functions $f$ and $g$ such that: $f\circ g$ is bijective, but neither $f$ nor $g$ is bijective?  I tried the following: $$f:\mathbb{R}\rightarrow \mathbb{R^{+}} $$ $$f(x)=x^{2}$$  and  $$g:\mathbb{R^{+}}\rightarrow \mathbb{R}$$ $$g(x)=\sqrt{x}$$  $f$ is not injective, and $g$ is not surjective, but $f\circ g$ is bijective  Any other examples? Why is the colour picker displaying tinted colors? The colour picker is behaving not as I expect it to. I cannot move the selector towards most of the edges, setting the RGB to 1.00 for red and the rest to 0 just gets an orange colour. Also I cannot simply keep the "value" the same and select a different shade, the "value" resets.  I'm not sure if i've pressed something in error or there is a setting in the user preferences/elsewhere that needs changing. I'm using the cycles renderer. The issue occurs with any colour picking :- material, background etc. Quitting Blender and restarting does not resolve the issue. Version 2.79.6 What is the purpose of the EBP frame pointer register? Solution of trigonometric equation $0 = x\cos(x)+2$ Prove that any finite group $G$ of even order contains an element of order $2.$ How do I wrap a macro definition in an environment? Drawing function in tikzpicture So uh i've got this problem with a penetrating object and another object that serves as something like a condom if you will    So what I want, is for the penetrating object to not deform while moving into this "rubber cylinder", while the rubber cylinder does deform and reshape itself to the outer form of the penetrating object. That is, if the pen. object is bigger than the entrance hole ofc.  Also, when the object leaves the "rubber cylinder" I want the outer edges to follow (mid object in picture) and then jump back (right object in picture)    Parenting the size and position of the "rubber cylinder"-entrance to the position of the penetrating object would work i guess, but I think it'd create problems when the pen. object enters from another angle (not perpendicular to the entrance). I just read another post where someone mentions Vertex Weight Proximity modifier in a combination with a cast modifier. Don't know if thats gonna work yet. Couldn't find the time to test it. identity element of $(D_n ,\gcd)$