Pass php variables to morris.js
How do I pass variables and data from PHP to JavaScript?
Two sidebars in Beamer for two presentations in one tex file mathtools: \dddot cause the term to rise Strategies to denest nested radicals $\sqrt{a+b\sqrt{c}}$ I have recently read some passage about nested radicals, I'm deeply impressed by them. Simple nested radicals $\sqrt{2+\sqrt{2}}$,$\sqrt{3-2\sqrt{2}}$ which the later can be denested into $1-\sqrt{2}$. This may be able to see through easily, but how can we denest such a complicated one $\sqrt{61-24\sqrt{5}}(=4-3\sqrt{5})$? And Is there any ways to judge if a radical in $\sqrt{a+b\sqrt{c}}$ form can be denested?  Mr. Srinivasa Ramanujan even suggested some CRAZY nested radicals such as: $$\sqrt[3]{\sqrt{2}-1},\sqrt{\sqrt[3]{28}-\sqrt[3]{27}},\sqrt{\sqrt[3]{5}-\sqrt[3]{4}}, \sqrt[3]{\cos{\frac{2\pi}{7}}}+\sqrt[3]{\cos{\frac{4\pi}{7}}}+\sqrt[3]{\cos{\frac{8\pi}{7}}},\sqrt[6]{7\sqrt[3]{20}-19},...$$ Amazing, these all can be denested. I believe there must be some strategies to denest them, but I don't know how.  I'm a just a beginner, can anyone give me some ideas? Thank you. I use time manager for a polygon layers with dates and it works. I would like to see the cummulative addition of my polygons. So I have 4 periods I want the poylgons from 1900-1950 to be added to the new ones in 1950-2000 etc in the next time step. How can I perform that or does another open source tool exist for that? I recently read that:     What our current level of thermodynamics does tell us though is that if there is such a thing as a Big Crunch, the universe will look a lot different as it heads towards collapse than it did when expanding – the universe started in a state of low entropy and high order and will end in a state of high entropy and   low order.   But shouldn't the order be in a high state and hence entropy becomes a low state in the Big Crunch (assuming a closed universe)?  The reason I write this is because the gravitational forces in a closed universe are so strong they will cause gravitational collapse so the universe will shrink and go backwards, eventually through all the stages of the big bang and become a singularity once more.   It was my understanding that a singularity has a state of high order and low entropy. Have I got this the wrong way round?   If so; Can someone please explain why? Galois extension is (not) transitive Let $ K/ L /F $ be fields. If $K / L$ is Galois and $ L / F $ is Galois, then $ K / F$ is Galois. We mentioned this very quickly in today's class without justifying. But I have trouble seeing this. Any help is appreciated.  Our definition for $ K / F$ being Galois is the $F$-automorphism group $G = G( K / F) : = \{ \sigma \in aut (G) : \sigma_F = id_F \}$ fixes only $F$, i.e. $ \{ x \in K : \sigma (x) = x \text { for all } \sigma \in G  \} = F$.  But we also showed that $ K /F$ is Galois if and only if $ K/F$ is normal and separable. How can the contact point of rolling body have zero velocity? They say that for a rolling body, the velocity of the contact point is zero. I'm not getting this. How can it be zero when it's in continuous motion? I want to say "someone (or something) intends to help, but instead it makes things worse". Is there any succinct expression or phrase for this?  Thanks. Seatpost Overextension I've been riding with my very short seat post extended well past its maximum extension line for quite a while now. Looking at the seat post itself I don't see any signs of deformation or damage other than some very minor surface rust.   Could my bike frame have been damaged? Could the lever force have damaged the frame? I can post some pictures of the frame if needed. My bike is all aluminum. What is $\sum_{n=1}^{\infty} \frac{n}{2^{\sqrt{n}}}$? I have problem with CRS Bosnia and Herzegovina?  MGI 1901 / Balkans zone 6  EPSG:3908 MGI 31276 / Balkans zone 6  EPSG:31276  Which of these two is OK? When I open google sattelite image with openlayers plugin, MGI 1901 match an image, when I change to MGI 31276 vector layer mismatch about 300m. When I import my layers to Global Mapper, datum of vector is "MGI Austria"   I need this projection: What harm can be done with a copy of one's passport? $f_n → f$ uniformly on $S$ and each $f_n$ is cont on $S$. Let $(x_n)$ be a sequence of points in $S$ converging to $x \in S$. Then $f_n(x_n) → f(x)$. Assume that $f_n → f$ uniformly on $S$ and each $f_n$ is continuous on $S$. Let $(x_n)$ be a sequence of points in $S$ converging to $x \in S$. Then $f_n(x_n) → f(x)$.  I'm stuck in thinking about it and I don't manage to prove it neither to find a counterexample. Thanks for your help. I am looking for various ways of explaining to my students (in an elementary statistics course) what is a two tailed test, and how its P value is calculated.  How do you explain to your students the two- vs one- tailed test? Combinatorial proof for Stirling number of 1st kind's generating function So I see this identity a lot but I can't find a detailed combinatorial proof for it.  $$n(n+1)...(n+k-1)=\sum_{j=0}^k \begin{bmatrix}k \\j \end{bmatrix}n^j$$ Can someone please help? Why aren't there any common words for 'defecating' and 'urinating'? Does an ability or spell grant me the bonus action with which to use it? The  description of casting times says that spells with a casting time of &quot;bonus action&quot; require a bonus action to cast (p. 79, emphasis mine):  Most spells require a single action to cast, but some spells require a bonus action, a reaction, or much more time to cast. Bonus Action A spell cast with a bonus action is especially swift. You must use a bonus action on your turn to cast the spell, provided that you haven't already taken a bonus action this turn. You can't cast another spell during the same turn, except for a cantrip with a casting time of 1 action.  It's pretty clear that bonus actions aren't automatic (p. 69):  You can take a bonus action only when a special ability, spell, or other feature of the game states that you can do something as a bonus action. You otherwise don't have a bonus action to take.  So to cast a spell like Healing Word (p. 93), do I  need to be granted a bonus action that I can use, or do I have a bonus action I can use?  I guess I'm unclear on whether I need to have a bonus action before I can spend it on something, or whether having an ability, spell, or whatnot that can be done as a bonus action grants me the bonus action I need to use it. What are the fundamental differences between the mainstream *NIX shells? What are the fundamental differences between the mainstream *NIX shells and what scenarios might prompt you to use one over the other?  I understand that some of it probably comes down to user preference but I've only ever used Bash and I'm interested to hear where another shell might be useful. Also, is there an impact on user-written shell scripts when running under one shell or another or is it simply a matter of changing the shell at the top of the file?  My instinct says it's not that easy. Triangle Inequality for norm integral $\|f\|_1=(\int_a^b [|f|^2+|f'|^2]\mathsf dx)^{1/2}$. Define $C_1^1[a,b]$ to be the space of continuously differentiable functions on $[a,b]$, with norm $$\|f\|_1=\left(\int_a^b[|f|^2+|f'|^2]\mathsf dx\right)^{1/2}.$$ Show that this is a proper definition of a norm. Is this normed space complete?  I'm stuck on the triangle inequality part. I'm having a hard time showing that $$\|f+g\|_1\leq \|f\|_1+\|g\|_1.$$ Any hints or solutions are greatly appreciated. I clean-installed Ubuntu 11.10 today, and then installed VirtualBox.  This required me to add myself to the vboxusers group, and since 11.10 seems to no longer have a graphical app to add users to a group, I ran the following command:  sudo usermod -G vboxusers stephane   This is a problem.  I now see what I should have run instead is:  sudo usermod -aG vboxusers stephane   The end result is I'm no longer in the groups I should be in.  Including whatever group is required to run "sudo".  When I run any command as sudo now, I get the following:  $ sudo ls [sudo] password for stephane:  stephane is not in the sudoers file.  This incident will be reported.   Is there a way to fix this, or do I need to re-install from scratch again?