How to Find the Percentage Between Two Ratios?
a function or a factor to scale a list of real numbers from one range to another
High Voltage Powerlines - clarification of energy loss How to show bibliography alphabetically with biblatex? What does "Perform GC" button do in jconsole? Booking travel tickets for visa without paying? $$\begin{align} 2+2 &amp;= 4 - \frac92 +\frac92\\ &amp;= \sqrt{\left(4-\frac92\right)^2} +\frac92\\ &amp;= \sqrt{16 -2\times4\times\frac92 +\left(\frac92\right)^2} + \frac92\\ &amp;= \sqrt{16 -36 + \left(\frac92\right)^2} +\frac92\\ &amp;= \sqrt {-20 +\left(\frac92\right)^2} + \frac92\\ &amp;= \sqrt{25-45 +\left(\frac92\right)^2} +\frac92\\ &amp;= \sqrt {5^2 -2\times5\times\frac92 + \left(\frac92\right) ^2} + \frac92\\ &amp;= \sqrt {\left(5-\frac92\right)^2} +\frac92\\ &amp;= 5 + \frac92 - \frac92 \\ &amp;= 5\end{align}$$  Where did I go wrong I have a question on my assignment asking me to prove that if $A$ is an $n\times n$ orthogonal matrix, then $\det(A) = \pm1$. What I did so far is:  We know that $A\cdot A^t = I$ (since it is orthogonal), and that would mean that if $A$ is a matrix with elements $a,b,c,d$ then :  \begin{cases}a^2 + b^2 = 1\\ ac + bd = 0\\ c^2 + d^2 = 1\end{cases}  which implies that \begin{align}\det(A)&amp;= ad - bc\\ &amp;= -\frac{bd^2}{c} - cb\\ &amp;= -\frac{bd^2}{c} - \frac{c^2b}{c}\\ &amp;= -\frac{bd^2 + bc^2}{c}\\ &amp;= -\frac{b(d^2 + c^2)}{c}\\ &amp;= -\frac{b(1)}{c}\\ &amp;= -b/c\end{align}  I might be doing something wrong here, could someone please help me out understand this? ADC0808 IC working correctly occasionally I am using  for a project on converting analog signal to digital signal. It has an inbuilt multiplexer using which we have to provide an analog signal to one of the pin. However what happens is ;  Sometimes it latches to a particular value say 1000000 and remains at there no matter how many times Start of Conversion is pressed which should set the inner counter to 0.  Sometimes it gives slightly wrong output off by 100 or 1000 and when I press Start of conversion, it gives correct output, so its not reliable every time.  And most seriously , Suppose the control for multiplexer according to Datasheet are such that input pin 1 should be active, instead, it works only when the input is given to pin 5 for one particular IC and pin 3 for other. I have been trying to fit it in logic since 3 days however each day some new error happens. I have replaced it twice from my college lab and now the technician doesn't want to replace it anymore . What is amiss here ? This question led to a new package:      How can I display the full path of the tex file that I compile? It is a simple file, no include or input present.  Edit: I use MiKTeX 2.9 on a Windows 7 64-bit.  Less demanding: If not possible, then I will be satisfied with a partial path (at least one or two folders up + the filename). We have previously determined that  or  can attune to magic items, but one of those is a sapient creature, and the other "always obeys your commands".  A paladin's steed (per the Find Steed spell) is also 'unusually intelligent' and falls within the score range for sapient creatures.  But what about a regular old animal? If my ranger has a wolf companion, can he make that wolf attune to, say, an Amulet of Health? According to the Beast Master archetype, a companion animal "obeys your commands as best it can".  Is spending an hour 'focused only on the item' (as required for attunement) something a beast can manage?  Or what if it's not an Animal Companion, but just a riding horse, a pet dog, a trained magpie?  I know, probably this is going to be down to the DM to determine, but is there any guidance we can use to help decide whether my cat can attune to an item, and whether rubbing it with catnip would help? prove that $\mathbb{Q}^n$is dense subset of $\mathbb{R^n}$ Prove that $\mathbb{Q}^n$is dense subset of $\mathbb{R^n}$ using the fact that $\mathbb{Q}$ is dense subset  of $\mathbb{R}$  I know that $\mathbb{Q}$ is dense subset  of $\mathbb{R}$ That is, between any two real numbers, there exists a rational number  then how to prove that $\mathbb{Q}^n$is dense subset of $\mathbb{R^n}$ Open a window on a remote X display (why "Cannot open display")? Once upon a time,  DISPLAY=:0.0 totem /path/to/movie.avi   after ssh 'ing into my desktop from my laptop would cause totem to play movie.avi on my desktop.  Now it gives the error:   No protocol specified Cannot open display:    I reinstalled Debian squeeze when it went stable on both computers, and I guess I broke the config.   I've googled on this, and cannot for the life of me figure out what I'm supposed to be doing.   (VLC has an HTTP interface that works, but it isn't as convenient as ssh.)  The same problem arises when I try to run this from a cron job. How to migrate MongoDB 2.4.14 file to MongoDB 3.6? I have a database file from MongoDB 2.4 and we want use this on mongodb 3.6.  note: the file is original from the db path. Not from mongodump. This process is messy as it requires doing so on many of our clients.  Any advice will be welcomed as I'm a bit lost in this process.  Thanks Is there a way to take a mesh, cut it with seams or sharp edges and flatten it, so that the faces stay the same shape and size?  Making paper models is one aspect, where you could use that technique.  No, I'm afraid SZ0Return is not going to do it properly.  And misusing the UV-unwrap is only a last option.    Note, while it's an option to revert to Blender 2.49 which had a script to do this, I'd like a solution that I can use inside the current workspace. How do I disable the guest session? Are there names for consonant-shifts when suffixes are added? Undefined control sequence \documentclass First of all I would like to thank you because you helped me out a lot with all your answers to the already online questions.  Now, here is my problem. I am trying to do a bibliography file with TeXworks but I get this error when I try to compile (pdfLaTeX+MakeIndex+bibTeX):      This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit)     entering extended mode     ****PATH here******     ! Undefined control sequence.     l.1 \documentclass         [a4paper,11pt]{report}   I've been reading some similar questions but I don't find the way to fix it (maybe I am missing something). I found one that says that I am trying to compile a LaTeX file using TeX compiler but I don't know how to change the configuration.  This is the .bib fiel content:      \documentclass[a4paper,11pt]{report}     \usepackage[english]{babel}     % faire de l'anglais     \usepackage[latin1]{inputenc}   % accents dans le source     \usepackage[T1]{fontenc}        % accents dans le DVI     \usepackage{url}     \begin{document}      @Article{ref11, author={Danihelka, Jiri and Kencl, Lukas}, journal={Cloud Futures Workshop 2012 }, title={Colaborative 3D Environments over Windows Azure}, year={2012}, month={May}, pages={}, note={}     }      @book{ref12, author = {Lee, Henry and Chuvyrov, Eugene},     title = {Beginning Windows Phone 7 Development},     publisher = {Apress},     volume = {},     number = {},     series = {},     address = {},     edition = {Second edition},     year = {2011},     month = {July},     note = {}     }      @Article{ref13, author={}, journal={}, title={Cloud computing}, year={}, month={}, pages={}, url={\url{http://en.wikipedia.org/wiki/Cloud_computing}}     }      \end{document} How t show $f=g$ almost everywhere Proving $\lim \frac{x^n-a^n}{x-a}=n\cdot a^{n-1}$ Let $P$ denote the quotient space obtained by the action of $\mathbb{Z}\backslash2\mathbb{Z}$ by the antipodal map $z\mapsto\frac{1}{z}$ on the riemann sphere $\hat{\mathbb{C}}$ (identified here with $\mathbb{C}\cup\left\{\infty\right\}$). I identify $P$ with the set:  $\left\{ z\in\mathbb{C}:\left|z\right|&lt;1\right\} \cup\left\{ e^{it}:0\leq t\leq\pi\right\} $   that is to say, I use elements of the above set as the representatives for the equivalence classes in $P$. I am looking for formula for a function $f:P\times P\rightarrow[0,\infty)$ such that $f$ is a metric on $P$. Specifically, I would like a formula for $f$ that I can evaluate by plugging in representative elements in the above set (or something like that, more or less).  Thanks in advance.  Edit: forgive me for sounding desperate, but I cannot make due with an explanation of how to obtain such a formula. I want the formula.   An analogy for you if I have yet to make myself clear: suppose I was asking for the area of a square with side length $s$. The answers I have received so far for my question are akin to saying "multiply $s$ by itself" or "use the area formula for a square". The answer I am looking for is akin to saying "$s^{2}$". I need the formula. And please, no expressions with differentials, nor matrices, or any of that. I need to know how to compute the metric by using the complex numbers in the indicated set that I have identified with $P$. How to detect online/offline event cross-browser?