Definite integration question $\int_0^{\frac{\pi}{2}} \frac{dx}{3+2\sin x+\cos x}$
Simplifying the integral $\int\frac{dx}{(3 + 2\sin x - \cos x)}$ by an easy approach
I read this set of stories in the 80's.  What I recall is this:  A planet where the ruling caste was made up of humanoid women.  These women would, as almost pubescent girls, go out into the wilderness with only a spear and attempt to kill an animal in a life or death struggle.  When it happened, they would burst open a DNA packet in themselves that caused them to rapidly mature, their skin to become bronze colored, and give them some kinds of other "powers", I think over fire.  They were called "Bahronas", I think.  The population of this planet was primitive, but they were in contact with an advanced humanoid species, I think of actual homo-sapiens, who were there observing and advising them.  The advanced species wasn't allowed to intervene, just advise and watch.  The main character was a castaway boy, crash landed on their planet and stranded.  He became friendly with the ruling family of Bahronas and entered their confidence.  We find out through the course of the story that he's been genetically engineered and is not a normal boy.  At some point, the advanced species notices him and explains that he is a clone of a famous explorer and a spy, and they explain that they won't do anything in front of him.  The central part of the story is something of a blur, but, the final part of the story is told in a dramatically different style and shifts to a planet populated by catlike creatures who live in boughs of silk scarves, some of which sing.  THey are recording devices which play back the songs.  On this planet, there is another silk scarf, a white one, which doesn't play a song at all.  The cat creatures are greatly disturbed by it when they hear it's message, which they don't understand.  The narrator then goes on to say that it's a spoken word recording, made by the explorer which the boy was a clone of, explaining that he is captured and held hostage on the planet which makes the scarves, and forced to help make them (I think.) Any time I am inserting new point feature in QGIS, the Feature Attribute dialog box is popping up. Is there a way to prevent it? (I am willing to insert many points at once and this pop up box slows down the process). Delete votes from users who later become moderators shouldn't prevent community undeletion In the book Principles of Physics by Resnick Halliday: The decrease in Potential energy of a parallel plate capacitor due to a dielectric is because the slab would start to oscillate and the energy would transfer back and forth between the kinetic energy of the moving slab and potential energy stored in the electric field. First of, can somebody provide me the math of the SHM and could somebody explain why it would become the potential of the capacitor i.e. the electric field and not the potential of the slab? As the slab is doing SHM, shouldn't the slab(and not the capacitor) have potential energy at one point of time and kinetic at another like a spring? If the SHM is because of the electric field due to the conducting plates in capacitors, won't they always be in one direction (Plus, it's magnitude is not even a function of distance!)? Could someone be kind enough to provide the math and the reason for Potential and Kinetic Energy transfer question? I am extremely poor in solving a problem quickly, which leaves me doing badly in olympiads and other contests. But, if I just don’t give up on a problem, no matter how much time it takes, I usually end up solving it. To have a future in mathematics or physics, is it necessary for me to excel at contests, because these days children excelling at contests have an advantage over those who don’t (not complete advantage, but advantage nonetheless)? What is the difference between Parse() and TryParse()?  int number = int.Parse(textBoxNumber.Text);  // The Try-Parse Method int.TryParse(textBoxNumber.Text, out number);   Is there some form of error-checking like a Try-Catch Block? Proof of "well-founded iff there is no sequence $x_n$ s.t. $(x_{n+1}, x_n) \in R$" I tried to do the following exercise from a book I'm reading, can you tell me if my solution is correct? Thanks!  Theorem 2: Let $R$ be a binary relation on a set $X$. Then $R$ is strictly well-founded iff there is no sequence $(x_n)_{n \in \mathbb N}$ of elements of $X$ such that $(x_{n+1}, x_n) \in R$ for all $n \in \mathbb N$.  Exercise:  (i) Formulate an analogue of Theorem 2 for  well-founded relations.   (ii) Prove Theorem 2.    (i) Theorem 2': Let $R$ be a binary relation on a set $X$. Then $R$ is well-founded iff there is no sequence $(x_n)_{n \in \mathbb N}$ of elements of $X$ such that $(x_{n+1}, x_n) \in R$ and $x_n \neq x_{n+1}$ for all $n \in \mathbb N$.  (ii)   $\implies$: Assume there is a sequence $x_n$ with $(x_{n+1},x_n) \in R$ for all $n \in \mathbb N$. Then the set $Y = \{x_n \mid n \in \mathbb N\}$ and hence $R$ is not well-founded since for every element $x_n$ there is $x_{n+1} \in Y$ with $(x_{n+1},x_n) \in R$.  $\Longleftarrow$: Let $R$ be strictly well-founded. Assume we have a sequence $x_n$ with $(x_{n+1},x_n) \in R$ for all $n \in \mathbb N$. Then by the same argument as above $R$ is not well-founded, hence there cannot be such a sequence.   I must be missing something but I can't seem to figure out what. Would I need to delete unused assets from my Unity packaged build? I'm going to make a release for my Unity game.  Does Unity include unused assets in build output? Would removing unused assets from a project reduce build size/Time?  I want to know if Unity packages all the assets to my build (which I would need to delete), or if Unity packages only the assets that are actually used in the game. Can Rails Routing Helpers (i.e. mymodel_path(model)) be Used in Models? Say I have a Rails Model called Thing. Thing has a url attribute that can optionally be set to a URL somewhere on the Internet. In view code, I need logic that does the following:  &lt;% if thing.url.blank? %&gt; &lt;%= link_to('Text', thing_path(thing)) %&gt; &lt;% else %&gt; &lt;%= link_to('Text', thing.url) %&gt; &lt;% end %&gt;   This conditional logic in the view is ugly. Of course, I could build a helper function, which would change the view to this:  &lt;%= thing_link('Text', thing) %&gt;   That solves the verbosity problem, but I would really prefer having the functionality in the model itself. In which case, the view code would be:  &lt;%= link_to('Text', thing.link) %&gt;   This, obviously, would require a link method on the model. Here's what it would need to contain:  def link   (self.url.blank?) ? thing_path(self) : self.url end   To the point of the question, thing_path() is an undefined method inside Model code. I'm assuming it's possible to "pull in" some helper methods into the model, but how? And is there a real reason that routing only operates at the controller and view layers of the app? I can think of lots of cases where model code may need to deal with URLs (integrating with external systems, etc). Why does HTML require that multiple spaces show up as a single space in the browser? I have long recognized that any set of whitespace in an HTML file will only be displayed as a single space.  For instance, this:  &lt;p&gt;Hello.        Hello. Hello. Hello.                       Hello.&lt;/p&gt;   displays as:  Hello.        Hello. Hello. Hello.                       Hello.  This is perfectly fine, as if you need multiple spaces of pre-formatted text you can just use the &lt;pre&gt; tag.  But what is the reason?  More precisely, why is this in the specification for HTML? I know this issue has been addressed before with different software, but how do I do it with Shapely?  I have a polygon with a very small gap on the interior of the shape:    Here is a close up:    The polygon is valid so I can't use the buffer trick, and simplifying the polygon also doesn't work. Pygame - blitting from x and y cordinates of image Consider the following file:  \documentclass{beamer}  \setbeamercolor{title}{bg=red} \setbeamercolor{author}{bg=yellow} \setbeamercolor{date}{bg=} \setbeamercolor{institute}{fg=red,bg=green}  \title{TitelTitelTitel} \author{meiermueller} \institute{Institute} \date{lalala}  \begin{document}  \usebackgroundtemplate{\color{blue}\rule{20cm}{15cm}}    \begin{frame}    \titlepage  \end{frame} \end{document}   On one of my computers (using MiKTeX 2.9 and beamer 2015/01/05 3.36), the result is the following:    Note how, in particular, the date box has a transparent background  On my other computer, I installed a new MiKTeX version (2.9.6800), including beamer 2018/09/02 v3.52, and get this:    Here, the date field has a white background, and I cannot seem to get it to be transparent.   Apparently, the difference has some relation to the beamer version, or maybe some other change in the new MiKTeX version.  But what ist the reason, and how do I get transparent backgrounds? Subgroups of finitely generated groups are not necessarily finitely generated I was wondering this today, and my algebra professor didn't know the answer.      Are subgroups of finitely generated groups also finitely generated?    I suppose it is necessarily true for finitely generated abelian groups, but is it true in general?  And if not, is there a simple example of a finitely generated group with a non-finitely generated subgroup?  NOTE:  This question has been merged with another question, asked by an undergraduate.  For an example not involving free groups, please see Andreas Caranti's answer, which was the accepted answer on the merged question. Laptop randomly waking up = Hibernate / Low Battery? Does opacity:0 have exactly the same effect as visibility:hidden Whats this white stuff on my board? I would like my JSON output in Ruby on Rails to be "pretty" or nicely formatted.   Right now, I call to_json and my JSON is all on one line.  At times this can be difficult to see if there is a problem in the JSON output stream.  Is there way to configure to make my JSON "pretty" or nicely formatted in Rails? How to create a DEB file manually? I want to create a DEB file manually. I would like to just provide a folder which contains data to install, and a script to be executed after installation.  Is this possible? PlotRange precision limit?