How do I integrate      $$\int_{-\pi/4}^{\pi/4} (\cos{t} + \sqrt{1 + t^2}\cos^3{(t)}\sin^3{(t)})\;\mathrm{d}t$$   There's no substitution that immediately jumps out at me.
Evaluate: $$\int_{-\pi/4}^{\pi/4}(\cos(t)+\sqrt{1+t^2}\cos(t)^3\sin(t)^3)dt$$  I have tried substituting $t=\tan(\theta)$ and breaking up the $\cos(t)^3$ using $\cos(t)^2=1-\sin(t)^2$, but I can't figure it out.  This question is #21 from the Math subject GRE form GR1268.
What lifetime can be expected of the typical hard disk? Or are there big differences between different types? And does it make a difference if it is used heavily instead of never being connected to system (for example serving as a backup medium)? How does the Higgs mechanism work? Can I have two UK visas simultaneously? I have a visitor UK visa valid until October 2017.  I also want to apply for a Tier 4 student visa. My studies in the UK start in September 2017.  If I apply for the student visa in June, will they simply issue an overlapping student visa, or will they cancel my visitor visa and I will not be able to come to the UK until September?  I am worried because in a similar situation with Schengen visas, my existing visa was canceled. Why do we need to set swap space as twice big as our physical memory? When we want to setup a linux system, there is a common a suggestion to set the swap space  twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come to be? In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template &lt;typename T, typename Tail&gt; // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template&lt;typename U&gt; struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion&lt;U&gt; dummy;      };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; }; template &lt;typename T&gt; // For the last node Tn. struct UnionNode&lt;T, void&gt; {     // ...     template&lt;typename U&gt; struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; };   The problem I have is in the typedef Tail::inUnion&lt;U&gt; dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion&lt;U&gt; names a type and not a function? Installing an addon There is this addon that was built called Window Generator 2. It can be . However, when I go to the download link it shows up in a new tab as a bunch of code.  How can I download and use this addon in Blender? Compute $e^{e^z}$, where z is a complex number I am self-studying the MAT 67 linear algebra course and I got stuck at a problem in Chapter 2:     Compute the real and imaginary parts of $e^{e^z}$ for $z$ $\in$ $\Bbb C$.   I tried to expand it using Euler's formula but it seemed endless. Any help? How to access new colour schemes in version 10? What good CAD programs are available? Escape velocity from Earth shell: keep trailing newlines ('\n') in command substitution I want to be able to capture the exact output of a command substitution, including the trailing new line characters.  I realise that they are stripped by default, so some manipulation may be required to keep them, and I want to keep the original exit code.  For example, given a command with a variable number of trailing newlines and exit code:  f(){ for i in $(seq "$((RANDOM % 3))"); do echo; done; return $((RANDOM % 256));} export -f f   I want to run something like:  exact_output f   And have the output be:  Output: $'\n\n' Exit: 5   I'm interested in both bash and POSIX sh. Reapplying for a UK Standard Visitor visa after a refusal in a file containing :  ... 18-11-2018:othercharacters 10-11-2018:othercharacters 03-10-2018:othercharacters 30-10-2018:othercharacters 27-09-2018:othercharacters 03-12-2018:othercharacters ...   the command :  sort -t- -k2 -k1    does not sort by date, what am I missing ? URL line breaks with biblatex How do I allow long URLs to have line breaks at any point. This is in the bibliography not the main text. I am trying to save space so don't want extra spaces to be added to make it only break at slashes, for example, as it does by default.  I am using biblatex+biber. How to get access to USB-storage from an application installed as Snap? I have Ubuntu 18.04 LTS installed. I inserted USB-flash to my laptop. It was automounted to /media/username/DISKLABEL and opened in Nautilus. I can read and write objects to it. How can I access it from the application, which is installed as Snap? I tried snaps of the following applications such as gedit, arduino-mhall119, organize-my-files. All them show me errors if I navigate to /media folder:    Could not read the contents of Media Error opening the directory of '/media': permission denied  Output of active Snap  is below: $ snap interfaces  | grep -v &quot;.*-$&quot; Slot                             Plug :browser-support                 organize-my-files :core-support                    core:core-support-plug :cups-control                    gedit :desktop                         gedit,organize-my-files :desktop-legacy                  gedit,organize-my-files :gsettings                       gedit,organize-my-files :home                            arduino-mhall119,gedit,organize-my-files :network                         arduino-mhall119,gedit,organize-my-files,pulsemixer :opengl                          organize-my-files :pulseaudio                      organize-my-files,pulsemixer :unity7                          arduino-mhall119,gedit,organize-my-files :wayland                         gedit :x11                             arduino-mhall119,organize-my-files,pulsemixer gnome-3-26-1604:gnome-3-26-1604  gedit gtk-common-themes:gtk3-themes    gedit gtk-common-themes:icon-themes    gedit gtk-common-themes:sound-themes   gedit -                                arduino-mhall119:serial-port -                                gedit:avahi-observe -                                gedit:mount-observe  Updates:  connecting mount-observe to Gedit with snap connect gedit:mount-observe does not help. it seems that we need special Snap with support of  interface. Enable or check Chatter Feed Tracking programatically Finding local maximum and minimum What is the size of this microcontroller? Having trouble reading a data sheet Is "funnest" a word? I have several hundred Illustrator files that are formatted similarly, and for legal reasons I need to replace a font in all of them. Even with the 'Find font' tool, that's a hell of a lot of fonts to replace by hand.  Is there some way of automating it? For example, using Bridge? Illustrator (CS5) doesn't offer many options in Bridge, compared to the automation options offered by Photoshop. I also don't see any option for running actions on multiple Illustrator files.  Also, creating a repeatable action for replacing the font doesn't seem to work: instead of repeating my action, it brings up the dialog box an waits for me to tell it to replace them.  As a programmer I'm prepared to edit the files directly if it can be done without breaking them.    Update: The 'Batch...' menu item from Illustrator's actions panel menu allows the same action to be performed on a folder of files. It doesn't fix the Find Fonts action waiting for input though. Toggling the dialog off makes the action do nothing at all.