Find all the triangles satisfying $\cos(A)\cos(B)+\sin(A)\sin(B)\sin(C)=1$
If $\sin(a)\sin(b)\sin(c)+\cos(a)\cos(b)=1$ then find the value of $\sin(c)$
Using scale bar units in QGIS composer? I am using the scale bar of the QGIS composer (ver 1.8) and I don't understand how the whole thing works.    Where can I set the units properly? The layers have idential CRS (WGS84), the settings for map tools is in meters.  I have tried to get it correctly by changing segment size and map units per bar unit, but it doesn't work. However, I have to admit that I don't understand what these two fields actually mean. Fastest way to clamp a real (fixed/floating point) value? Is there a more efficient way to clamp real numbers than using if statements or ternary operators? I want to do this both for doubles and for a 32-bit fixpoint implementation (16.16). I'm not asking for code that can handle both cases; they will be handled in separate functions.  Obviously, I can do something like:  double clampedA; double a = calculate(); clampedA = a &gt; MY_MAX ? MY_MAX : a; clampedA = a &lt; MY_MIN ? MY_MIN : a;   or  double a = calculate(); double clampedA = a; if(clampedA &gt; MY_MAX)     clampedA = MY_MAX; else if(clampedA &lt; MY_MIN)     clampedA = MY_MIN;   The fixpoint version would use functions/macros for comparisons.  This is done in a performance-critical part of the code, so I'm looking for an as efficient way to do it as possible (which I suspect would involve bit-manipulation)   EDIT: It has to be standard/portable C, platform-specific functionality is not of any interest here. Also, MY_MIN and MY_MAX are the same type as the value I want clamped (doubles in the examples above). Is “fortnight” an outdated word? I'm studying English vocabulary books, I find this word in each unit describing time words (days, weeks, months...).      There are 2 weeks in a fortnight.   Almost I haven't seen this word before in social websites, emails or movies. the only place I heard this word is in historical movies.  So, is it a outdated word or native speakers still use it? Hello native English speakers!  I want to ask you about either and both. I tried to find similar questions in this site but I think they were not same with these ones.  My questions are;   I was invited to two parties, but I couldn't go to ------- of them.  I took two books with me on holidays, but I didn't read ------- of     them.   I choose both for questions 1 and 2. But the right answers were either. But I think both and either are correct either. Am I right?   Thank you in advance! How to give an image or video a TV screen effect? I thought it would be interesting to create a .blend that filters any regular video or image with vintage television look.   Edit: Although this question initially arose from my desire to create a vintage look, it has since been pointed out in a comment that all displays use arrays of RGB emitters, so it's not really an issue of vintage or not. How vintage it will end up looking is probably more a matter of the shape, size, and density of the emitters.  Reference images:       Upon examining the structure of screens, the most common seems to be rows of vertical RGB bars:    Here is another type which I believe is common in computer displays - circular dots in a hexagonal grid:    I have been thinking about how to make a screen in Blender that takes its input from an image or image sequence and for each frame converts the RGB value for a pixel (or region) and uses that to illuminate the red green and blue phosphors in the correct ratios so that when viewed from a distance an image is distinguishable.  Do you think this will require python scripting? I made some initial attempts modeling an array of phosphors then using a Light Path node and a Separate RGB node in Cycles but I haven't gotten very far. I would love to hear what you all can suggest.  Thanks! I was studying a  problem where optical light with a wavelength of 500&nbsp;nm travels through a gas with refractive index $n$.  If we look at the equations for wave motion and index of refraction  $$c=\lambda_0\nu\quad\text{(in vacuum)}$$  $$v = \lambda\nu\quad\text{(in medium)}$$  $$n = c/v$$  we see that, if the frequency is constant, the wavelength decreases in the medium compared to vacuum. Is this a consistent property at all frequencies and for all mediums with refractive index real and greater than 1?  Are there dielectrics which change the frequency (still for n > 1), and is there an example of that? How to create a new object instance from a Type What is the VTable Layout and VTable Pointer Location in C++ Objects in GCC 3.x and 4.x? Nonphysical entities cannot be observed. Therefore such entities cannot be verified by observation. How could statements like "God exists" be even considered true? Why would anyone appeal to the metaphysical realm at all?  It seems to me that the best method by which we should go about in understanding the world is by initially ruling out the possibility of the metaphysical altogether for the simplest answer (a sort of null hypothesis). Once we can get a hold of a natural cause of some phenomenon, we should be satisfied that that is all there is to it. Formulating some nonphysical cause would be unnecessary, superfluously complicated, or even cluttered. Now if there was some problem that we were certain could not be solved by observation or experimentation or whose solution could not possibly exist in the observable realm, yet must be true, I would consider the possibility of a metaphysical cause.      That said, I don't think that if you can't empirically observe something, it doesn't exist; rather, I would declare total agnosticism and say that it is unknowable. Can I print a custom paper on standsard size in word? What word means what many people think 'ironic' means? Urdu language not listed in my ubuntu 16.04 LTS I am a new user of Ubuntu 16.04 LTS. To my surprise it does not have Urdu Language in language support widow. Kindly help.   The given answer to  is not helping me. How can I show that the sum   $$ \sum_{k = 0}^n 2^k \binom{n}{k}$$  is equal to $3^n$? Can't run "dpkg --add-architecture i386" on 12.04 64-bit to run eclipse ADT I have this problem.  I need to do some administrative tasks on a MS SQL Database using SA account.   OS authentication is not set. SQL Server Manager Manager Studio is not installed. I have no other admin database account. I do have access to a Windows admin account The only tools installed on the database server are as shown:     How can I activate OS authentication so I can log into the database an reset the SA password ? C state-machine design Importing QGIS3 processing tools in standalone script Inspired by , but for QGIS 3 (and therefore Python 3), I would like to use the QGIS processing algorithms in a standalone Python script without a GUI, with a standard installation of Ubuntu Linux. A simple import processing is insufficient: import processing processing.run(    &quot;qgis:rasterlayerstatistics&quot;,    {        'INPUT': .'/somefile.tif',        'BAND': 1,        'OUTPUT_HTML_FILE': './result.html'    } )  Results in: Traceback (most recent call last):   File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; ModuleNotFoundError: No module named 'processing'  How do you get access to the QGIS processing module to use the QGIS processing algorithms in a standalone Python script (not the QGIS interpreter)? Can one PC throw another? For example, if there is a lava river surrounding a castle. There is a drawbridge that can be lowered, but the lever is on the other side. PCs couldn't find a hidden passageway,either because PCs failed necessary check and couldn't find it or just because there isn't one. They don't have rope to try to pull the lever down. Or if PCs want to rob a house, but can't pick a lock, they see that window on the second floor is open. Can one PC use his Strength to throw another PC that is one size smaller, with other PC using his Dexterity or Strength to not fall down or lose balance? Has the wall been repaired? Site specific magic comment links