Java: Is there a way, how I can import a file which is in the same folder as the .jar?
How to get the path of a running JAR file?
fontenc vs inputenc When I tried to install Matlab using the Software Center, it prompted me for the Location of MATLAB installation(s). Since I am trying to install it, I don't know what to do. This morning, I had eggs for breakfast, and I was looking at the pieces of broken shells and thought "What is the surface area of this egg?" The problem is that I have no real idea about how to find the surface area.    I have learned formulas for circles, and I know the equation for an ellipse; however, I don't know how to apply that.   The only idea I can think of is to put an egg on a sheet of paper and trace it, and then measure the outline drawn, and then try to find an equation for that ellipse and rotate that about the $x$-axis.  Now, my problem is how I can find the equation of the ellipse from the graph, and will my tracing method really be the edge of the egg?  Also, can I use the ? Will I have to use some techniques to solve the integral that are not covered in the ?  There has to be a better method for finding the surface area. Please, help me understand how to find the surface area of an egg; i.e., how to use my mathematical knowledge for something other than passing exams. Evaluating and proving $\lim\limits_{x\to\infty}\frac{\sin x}x$ Say that Player X is 2nd in the initiative. 1st is the Black Court vampire that is in a rage and taking a swing at Player X. Player X gets a built in defense [Athletics/Fists + 4dF] but can Player X instead use his action this turn to cast his Rote Evocation Shield?  It is not his turn in the initiative order. A Block is an Action that a Player can take on his turn.   Thematically though, it seems to make sense that the char could cast a Rote Evocation Shield in response to an attack ahead of him in the initiative order. At least thematically in the books. Also, the example in YS252, shows him reacting to an attack by Agatha Hagglethorn by bring up his shield.  I am hoping there is some as yet undiscovered dark corner where this concept is covered or squashed. Double orthogonal complement is equal to topological closure I am Sri-Lankan staying in Bangladesh working in well established company in Bangladesh. I, my wife and two kids applied for Schengen visa from German embassy in Dhaka. I got only sponser letter from my paternal uncle in Germany. We submit all company letter, bank account, school letters, insurance, booking air tickets, etc.  Our visa refused and the reason given "your intention to leave the territory of the member states before the expiry of the visa could not be ascertained" so I want to know what it mean. And how I apply again fix by this reason? Our annual vacation starts on 15 July for one month. I applied visa for 15 days. We plan to stay 15 days in Germany and travel to Sri Lanka and back to Bangladesh. How do I resolve a recurrence relation when the characteristic equation has fewer roots than terms? I know how to solve "simple" recurrence relations. For instance, say you have:  $$c_0 = 20$$ $$c_1 = 30$$ $$c_n = 3 c_{n-1} - 2 c_{n-2}$$  We can write the characteristic equation as:  $$3x^{n-1} - 2x^{n-2} = x^n$$  Solving this with $n=2$, we get $x = 1$ or $x = 2$. This lets us write the relation $c_n = \alpha_1 1^n + \alpha_2 2^n$, and we can solve for $\alpha_1$ and $\alpha_2$ with the initial states $c_0$ and $c_1$.  However, this depends on the fact that $3x^{n-1} - 2x^{n-2} = x^n$ has two roots.  Now, I'm stuck on another problem where the characteristic equation has fewer roots than terms.  Say I have this recurrence relation instead:  $$a_0 = 0$$ $$a_1 = 2$$ $$a_2 = −1$$ $$a_n = 9a_{n-1} - 15a_{n-2} - 25a_{n-3}$$  The characteristic equation would be:  $$9x^{n-1} - 15x^{n-2} - 25x^{n-3} = x^n$$  However, solving with $n=3$, we only get two roots: $x=-1$ or $x=5$. There are not enough roots to write a relation in the form of $a_n = \alpha_1 r_1^n + \alpha_2r_2^n + \alpha_3r_3^n$. How do I proceed? UITextField - capture return button event In the comedic music video  there are many clips of vintage scifi films, some of which I recognize.  This one however, of a large blue floating holographic head talking to some kind of military installation does not look at all familiar.  Does anyone recognize this film? Why is it impossible to override a getter-only property and add a setter? Why is the following C# code not allowed:  public abstract class BaseClass {     public abstract int Bar { get;} }  public class ConcreteClass : BaseClass {     public override int Bar     {         get { return 0; }         set {}     } }      CS0546 'ConcreteClass.Bar.set': cannot override because 'BaseClass.Bar' does not have an overridable set accessor The limit of truncated sums of harmonic series, $\lim\limits_{k\to\infty}\sum_{n=k+1}^{2k}{\frac{1}{n}}$ Converting a .lasd (Lidar) coordinate system? How can one change a coordinate system for a .lasd (Lidar) dataset?  The file is currently in UTM_Zone_15N and I am trying to convert it to IL_East. We are getting  in M19. What if I enchant my , copying my opponents . Then I pay the cost on my Bolas (previously a Delver) to activate his transform ability.  What will happen? I can think of 3 possibilities:   My Delver is exiled and the aura goes to the graveyard. My Delver is transformed, aura goes to the graveyard, but the Delver transforms into  My Delver is transformed, aura goes to the graveyard, and the Delver transforms into How should I calculate $\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$ How should I calculate the below limit  $$\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$$ I have no idea where to start from. Choosing C++ debugger on linux I am having some issues with the hyperref package. I would like to create a Introduction chapter without a number so I use \chapter*{Introduction} and \addcontentsline{toc}{chapter}{Introduction} because I want it in the table of contents (see example).  But then the link in my PDF viewer gets it wrong and also the automatically created header is no longer correct (see picture). The table of contents shows the right page number (p.1) but the link is also wrong.   What is my mistake here?  \documentclass{scrbook}  \usepackage{hyperref} \usepackage{blindtext} \usepackage{glossaries}   \makeglossaries  \newacronym{eg}{e.g.}{% for example }   \begin{document}   \frontmatter  % abstract before the table of contents \chapter*{Abstract} \addcontentsline{toc}{chapter}{Abstract} \blindtext  \tableofcontents  % chapter with acronyms \cleardoublepage \phantomsection  \printglossary[type=\acronymtype] \addcontentsline{toc}{chapter}{Glossary}  \cleardoublepage \mainmatter   \phantomsection % \chapter{Introduction} % with this everything is correct but I don't want the number \chapter*{Introduction} \addcontentsline{toc}{chapter}{Introduction}  \blindtext  \pagebreak  \blindtext  % first chapter \chapter{Chapter1}  \gls{eg} \blindtext  \pagebreak  \blindtext   \end{document} Mail App keeps popping up in the background in Mac OS Mojave How to export variable for use with sudo? On Slackware, using sbopkg permits one to build a package from source. Repos is not big as Debian, but it's nice.  Some software can use environment variables, for example on the VICE c64 emulator, if the variable FFMPEG is set to yes, it will enable ffmpeg recording the emulator.  I tried to use  $ export FFMPEG=yes; sudo sbopkg -B -i vice   but ffmpeg is disabled.  Instead I had to use  $ su - $ export FFMPEG=yes $ sbopkg -B -i vice   which works.  How to use environment variables with sudo? Set theory: difference between belong/contained and includes/subset? This is a total noob question.  I am reading , and I'm having difficulty to understand something which seems to be trivial.  In the first chapter he writes:     If $x$ belongs to $A$ ($x$ is an element of $A$, $x$ is contained in $A$), we shall write      $x\in A$   I understand this.  Then, he write:     If $A$ and $B$ are sets and if every element of $A$ is an element of $B$, we say that $A$ is a subset of $B$, or $B$ includes $A$, and we write:      $A \subset B$   I understand this too.  Then he says:     The working of the definition implies that each set must be considered to be included in itself ($A \subset A$); this fact is described by saying that set inclusion is reflexive.   I understand this too.  But then:     Observe that belonging ($\in$) and inclusion ($\subset$) are conceptually very different things indeed. One important difference has already manifested itself above: inclusion is always reflexive, whereas it is not at all clear that belonging is ever reflexive. That is: $A \subset A$ is always true;  is $A\in A$ ever true? It is certainly not true of any reasonable set that anyone has ever seen.   And this is where I don't think I understand anything.  There is not more elaboration on this point in the text.  I tried to skip this but it seems it is quite fundamental for understanding what follows in the book.  Could someone explain what is meant here?