How do I fix the list of references at the end of an article so that they appear as   (1) rather than [1]?
The editor asked me to use the following format.      Reference   1. Author, blah blah   Instead of      Reference   [1] Author, blah blah ...   Even though in the main text, [1] style has been used.   For example,        Smith [1] has proposed ...      Reference   1. Smith,      This is what I want.   Could you please advise how I can do the above?  Thanks in advance.
Average run length Suppose in an Xbar chart, k successive points plotted outside a control limit indicates an out of control situation. If p is the probability of plotting a point outside a control limit, how is ARL = $(1-p^k)/(p^k (1-p))$? Why does the compiler say "a constant value is required" for the first case...the second case works fine...    switch (definingGroup) {     case Properties.Settings.Default.OU_HomeOffice:           //do something           break;     case "OU=Home Office":           //do something         break;     default:         break;  }   also tried...  switch (definingGroup) {     case Properties.Settings.Default.OU_HomeOffice.ToString():           //do something         break;     case "OU=Home Office":         //do something         break;     default:         break;  }   ...same error  Here's the Properties.Setting code  [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("OU=Home Office")] public string OU_HomeOffice {     get {         return ((string)(this["OU_HomeOffice"]));     } } Current sensing nA to mA I need to sense the current of a target  through various periods of its on/sleep/off state and then need to send this data back to another interface MCU to read out the value. They will be both on the same board, powered by 5&nbsp;V USB.  However these are the requirements I have:   5&nbsp;V USB PSU Must be able to sense currents in the range of nA to mA with high    accuracy/precision. (I figure 1&nbsp;nA to 500&nbsp;mA) Only measure the current of the target MCU and not the interface. Must output maximum 3.3&nbsp;V interface MCU   I have looked at available options and current sense amplifiers by Texas Instruments can't sense nA due to higher bias currents. So therefore I feel I would need a precision amplifier.  However I am stuck on how to proceed with this because, I need to somehow have a automatic dynamic current range and I am fairly new to current sensing and am not really sure on all the specifics. Can I use mirroring to make a copy of my Database? I want to determine whether a multi-line string ends with a line containing specified pattern.  These code failed, it doesn't match.  s=`echo hello &amp;&amp; echo world &amp;&amp; echo OK` [[ "$s" =~ 'OK$' ]] &amp;&amp; echo match A PC in our group was off on his own following a recurring villain of our groups. He was paralyzed where he could move, and the vampire bit his neck. The vampire said "now you get to remain 19 (years old) forever" before he left the cave. This was all done in RP.  We found him later, and healed up his bite marks. Our characters know of vampires, specifically only the one that bit him (recurring villain), but don't really know how vampirism works, because it isn't a super common thing in this world yet.   My question as the player is:  How does RAW vampirism work in 5e?  Is it a disease that develops over time? Is it something where they have to die and be brought back as a vampire? Case insensitive regular expression without re.compile? I tried a small experiment. I posted a post on Facebook at exactly: 21:01 and waited to see how many hours ago it will say. When it was 22:50 it still said that my post was posted 1 hour ago.  Though some days back on this forum some people told me that when something started at 21:01 and it is 22:50 that I should say it started 2 hours ago.  So whom should I trust now?  All social networks like Facebook, Instagram and YouTube etc. use the system where it would say 1 hour ago even if it was 119 minutes already, so meaning they will never say it was 2 hours ago unless at least 120 minutes passed.  This was the way I used to express 1 hour ago as well. However, since I heard the answers from many other people I feel unsure about it right now...  I am talking about casual speech with friends etc. In such scenario. What would you say? 1 or 2 hours ago? Is Facebook/YouTube/Instagram wrong or?   if we decide to agree on the theory that if it is more than 1 hour and 40 minutes it is a good idea to round to 2 hours ago.   So what time span would you imagine if something happened let say 10:10, now it is 11:50.  If somebody said to me that something happened 2 hours ago and I looked on time saying 11:50 I would image that it happened some time between. (9:30-9:50)  That is why it feels so weird for me to say 2 hours ago thought it has not been more two hours yet.   I dont know why but more logical for me it feels to say 1 hour ago though it can already be more than 100 minutes  and still just say that it happened an hour ago when talking with friends, teachers, whoever in casual speech unless it is something super important i would say exactly hours and minutes.  How do you say it in your life? How do you express time in such situations? Do you express time the same way as Facebook or?   I know that some of you may think this is some kind of joke, unfortunately it is not and I am going crazy and depressed without knowing system for this... It has been already 2 months and I still feel overwhelmed with this ideas and questions... I cannot help myself, please help me, please.  Thanks for your help. How to calculate the difference between two dates using PHP? Could there be an eighth Horcrux? In Walter Rudin's Principles of mathematical analysis Exercise 5.21, it is proved that for any closed subset $E\subseteq \mathbb{R}$, there exists a smooth function $f$ on $\mathbb{R}$ such that $E=\{x\in \mathbb{R}\mid f(x)=0\}$.   Since $E^c$ is open in $\mathbb{R}$, $E^c$ is a countable disjoint union of open intervals $(a_i,b_i)$. On an interval $(a,b)$, if we let $f(x)=\exp(\frac{1}{(x-a)(x-b)})$, $x\in(a,b)$; $f(x)=0$, $x\notin(a,b)$, ($f(x)=\exp(\frac{1}{(x-a)})$ or $f(x)=\exp(\frac{1}{(x-b)})$ on $(a,\infty)$ and $(-\infty,b)$ resp.), then $f$ is smooth. Hence we can get a smooth function on $\mathbb{R}$ such that $E$ is the zero point sets of $f$.  (1). How about a closed subset $E$ of $\mathbb{R}^n$? is it true that for any closed subset $E\subseteq \mathbb{R}^n$, there exists a smooth function $f$ on $\mathbb{R}^n$ such that $E=\{x\in \mathbb{R}^n\mid f(x)=0\}$?  An open set in $\mathbb{R}^n$ cannot be written as a disjoint union of countable open balls hence the proof above is not valid. The partition of unity only claims that for an  open set $U$, there exists open $V$ in $U$ such that $\bar V\subseteq U$ and a smooth function $f$ on $\mathbb{R}^n$ such that $supp f\subseteq U$, $f|_V=1$.   (2). The taylor series of $f(x)=\exp(\frac{1}{(x-a)(x-b)})$ does not converge around points $a,b$ hence $f$ is not analytic at $a,b$. Is it true that for any closed subset $E\subseteq \mathbb{R}$, there exists an analytic function $f$ on $\mathbb{R}$ such that $E=\{x\in \mathbb{R}\mid f(x)=0\}$? Number of monomials of certain degree How to evaluate the integral $\int_0^{\pi}\frac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx$? Evaluate the integral $$\int_0^{\pi}\frac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx.$$   I have no idea.   $$\int_0^{\pi}\dfrac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx=\int_0^{\pi/2}\dfrac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx=\int_0^{\pi/2}\dfrac{a^n\tan^2x+b^n}{a^{2n}\tan^2x+b^{2n}}dx$$  I try the substitution $\tan{x}=t$, but it doesn’t work. Is it possible to unwrap materials made in Vertex Paint? I painted an group of objects in Blender using the Vertex Paint and was wondering if it would be possible to unwrap the mutliple materials(when the objects are joined together using Ctrl+J)? Do I have to paint it all over again? Sum of digits of repunits I'm looking to cite a number of web pages using bibtex and I was wondering if there was a specific template of the form @&lt;template name here&gt; for doing that. If you could use the following website as an example that would be great What's the difference between the work function and ionisation energy? If I pass PHP variables with . in their names via $_GET PHP auto-replaces them with _ characters. For example:  &lt;?php echo "url is ".$_SERVER['REQUEST_URI']."&lt;p&gt;"; echo "x.y is ".$_GET['x.y'].".&lt;p&gt;"; echo "x_y is ".$_GET['x_y'].".&lt;p&gt;";   ... outputs the following:  url is /SpShipTool/php/testGetUrl.php?x.y=a.b x.y is . x_y is a.b.   ... my question is this: is there any way I can get this to stop? Cannot for the life of me figure out what I've done to deserve this  PHP version I'm running with is 5.2.4-2ubuntu5.3. Are there any expressions that describe going from a bad to a worse situation? Are there idioms or expressions in English that describe going from one bad situation to one that's even worse?  I heard "between a rock and hard place" but this describes a dilemma not really a transition. I am looking for an expression that describes someone trying to get out of a bad situation but after much effort, the situation only got worse. What did the general public know about Darth Vader? When Darth Vader first becomes Palpatine's apprentice, very few know of his existence and connection to the Emperor: the members of the Trade Federation (whom he dispatches) and Yoda, Kenobi, Organa, and their associates are all that seem to know at the end of Episode III.  Ultimately, the Resistance would know about him as they would be fighting him, and Organa could have been able to inform them about his identity and the fact that he is a Force user. The military of the Empire would know of his existence, but even high-ranking members likely wouldn't know his past or identity. However, they would know about the fact that he is a Force user due to his tendency to use his "sorcerer's ways" to choke people.  So, how much would the general public have known about Vader? Would they have known him as just another military leader, or would they have known he was Palpatine's right-hand man? Would they have known about his ability to use the Force, and therefore the possibility that he was a Sith?